Re: In fully utf8 unicode MySQL the collation connection makes trouble
Posted by: Rick James
Date: September 21, 2009 09:12AM

character set settings are important, too:
mysql> show global variables like '%char%';
+--------------------------+-----------------------------------------------+
| Variable_name            | Value                                         |
+--------------------------+-----------------------------------------------+
| character_set_client     | utf8                                          |
| character_set_connection | utf8                                          |
| character_set_database   | utf8                                          |
| character_set_filesystem | binary                                        |
| character_set_results    | utf8                                          |
| character_set_server     | utf8                                          |
| character_set_system     | utf8                                          |
| character_sets_dir       | ... |
+--------------------------+-----------------------------------------------+

Recommend you always explicitly set the collation when create a database or table. MySQL tends to default to 'utf8_general_ci' instead of the "better" (though slower) 'utf8_unicode_ci'.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: In fully utf8 unicode MySQL the collation connection makes trouble
3387
September 21, 2009 09:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.