Set character_set_results UTF8 in MySQL my.cnf

Posted by Marc on Server Fault See other posts from Server Fault or by Marc
Published on 2011-03-10T17:35:20Z Indexed on 2011/03/11 8:12 UTC
Read the original article Hit count: 290

Filed under:
|
|

Hi Folks,

how can i set the Variable character_set_results from latin1 to uft8? I thought it would be enough if I would add the following variable in the my.cnf:

default-character-set=utf8

But it not seem so:

mysql> SHOW VARIABLES LIKE 'character_set_%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | latin1 | | character_set_connection | latin1 | | character_set_database | utf8 | | character_set_filesystem | binary | | character_set_results | latin1 | | character_set_server | utf8 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+

Some body have an idea how i can set character_set_results to utf8?

© Server Fault or respective owner

Related posts about mysql

Related posts about utf8