为了修改mysql默认字符集,按照网上的方式,修改了my.cnf
,之后启动mysql报错:
1 2 |
|
后来Google到官网的这篇文章.
其中说道:
The above link says default-character-set is depreciated and you should
be using character-set-server. It also states default-character-set
was removed in v5.5.3.
解决方法:把my.cnf
中的
1
|
|
修改为
1
|
|
成功启动mysql.