How can I se my collation to utf8mb4_general_ci? I am getting this error:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE)
If add this to database connection, I no loger get error, but trying to save emojis to database will save only ??????
"options" => array( PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4' )
I am not quite sure where the problem is.