I am doing a project in which I have to save tweets into my MySQL database. The problem is some tweets contains smilies and other symbols which I am not able to save - it shows error like below :
Incorrect string value: '\xF0\x9F\x98\x82. ...' for column 'text' at row 1
I was trying to convert to utf8mb4
using this link tutorial, but in step 5, i have changed my.ini file in my C:\ProgramData\MySQL\MySQL Server 5.6 directory.
But when i do SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%';
in my mysql console, i am not getting the desire result, my character set is not changed to utf8mb4
, it is still utf8
, please guide me how to resolve this, i am new to this. I have attached image to the step 5 (Modify connection, client, and server character sets) of the above tutorial.