Charset in MySQL dauerhaft ändern

connectnet at web.de connectnet at web.de
Thu Apr 8 22:52:31 CEST 2010


Hallo Liste,
folgendes Problem:

Ich möchte meine MySQL unter Lenny auf utf-8 umstellen. Zur Zeit sieht
eine Abfrage von  SHOW VARIABLES LIKE "char%" so aus:
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | latin1                     |
| character_set_connection | latin1                     |
| character_set_database   | latin1                     |
| character_set_filesystem | binary                     |
| character_set_results    | latin1                     |
| character_set_server     | latin1                     |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+

Eine Änderung mittels set character_set_database = UTF8; führt zu keiner
dauerhaften Speicherung.
Nach einem MySQL restart ist alles wieder beim Alten. Was kann ich tun?

Danke im Voraus,
martin




More information about the Linux mailing list