How can I se my collation to utf8mb4generalci? I am getting this error:
Illegal mix of collations (utf8generalci,IMPLICIT) and (utf8mb4generalci,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.