Change collation of a MySQL table to utf8_general_cs

Posted by jack on Server Fault See other posts from Server Fault or by jack
Published on 2010-04-30T14:20:15Z Indexed on 2010/04/30 14:28 UTC
Read the original article Hit count: 465

Filed under:
|
|

I tried to change collation MySQL table to utf8_general_cs but got following error:

mysql> ALTER TABLE table_name CONVERT TO CHARACTER SET utf8 COLLATE 'utf8_general_cs';
ERROR 1273 (HY000): Unknown collation: 'utf8_general_cs'

I run "SHOW COLLATE" command and "utf8_general_cs" is not in the results.

What can I do now?

© Server Fault or respective owner

Related posts about mysql

Related posts about table