Linux学习之CentOS7安装Mysql5.7直接覆盖Mar

2019-06-06  本文已影响0人  6默默Welsh

https://blog.csdn.net/nullbull/article/details/79507996

sudo systemctl start mysqld.service
错误:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

解决:sudo vim /etc/my.cnf 把 default-character-set=utf8 换成character-set-server=utf8

上一篇 下一篇

猜你喜欢

热点阅读