Get custom programming done at ScriptLance.com!

MySQL utf8 support

| |

Add in /etc/mysql/my.cnf the following options:

[mysqld]
default-character-set=utf8
character-set-server=utf8

[client]
default-character-set=utf8

This configuration is 100% compatible with Ubuntu 5.10 (Breezy) and MySQL 4.1.
This has to be set like this if you want to run a data base with utf8 support like in Drupal (CMS).



Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.