Changing the character encoding of a MySQL database

Posted by Julien Genestoux on Server Fault See other posts from Server Fault or by Julien Genestoux
Published on 2010-12-25T14:41:42Z Indexed on 2010/12/25 14:55 UTC
Read the original article Hit count: 282

Filed under:
|
|

Our whole application is now able to handle UTF-8 and it will be our choice in terms of encoding all across our architecture. The last step is to change the encoding of our MySQL databases.

Of course, ALTER TABLE db_table CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; should be able to convert each of the tables to the right UTF8 encoding, yet, is there anything else I should do? I believe that the my.cnf configuration file needs to be changed as well.

© Server Fault or respective owner

Related posts about mysql

Related posts about encoding