|
我的平台是ubuntu5.10 server版本,mysql为4.0.24,我在my.cnf的[mysqld]中增加以下内容:
default-character-set=utf8
sudo /usr/sbin/mysqld时报,Character set 'utf8' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index' file
还有如果用sudo /etc/init.d/mysql restart启动时报:
/usr/bin/mysqladmin:connect to server at 'localhost' failed
error:'Can't connect to local Mysql server through socket 'var/run/mysql/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! |
|