Re: setting utf8 in my.cnf..
Posted by: Dr Tebi
Date: September 06, 2008 06:55PM

Another year later... just in case someone is wondering.

When I installed mysql, I set the default charset to utf8:

make WITH_CHARSET="utf8"

When checking the variables, my output shows:

+--------------------------+----------------------------------+
| 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 | /usr/local/share/mysql/charsets/ |
+--------------------------+----------------------------------+
8 rows in set (0.00 sec)

+----------------------+-----------------+
| Variable_name | Value |
+----------------------+-----------------+
| collation_connection | utf8_general_ci |
| collation_database | utf8_general_ci |
| collation_server | utf8_general_ci |
+----------------------+-----------------+

And, as a matter of fact, I have not specified any charset in the my.cnf file.

This is on MySQL 5.0.51a on a FreeBSD 7.0 system.

DrTebi

Options: ReplyQuote


Subject
Views
Written By
Posted
143775
June 01, 2005 01:35AM
45960
June 01, 2005 03:48AM
38498
June 01, 2005 08:07AM
38564
June 01, 2005 10:44AM
25988
June 01, 2005 11:32AM
24353
June 01, 2005 06:50PM
24643
November 24, 2007 05:15AM
Re: setting utf8 in my.cnf..
26055
September 06, 2008 06:55PM


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.