本文里引用的一些链接,如有侵权,请及时联系我删除
安装步骤:https://blog.csdn.net/weixin_43611145/article/details/86701241
或者:https://www.cnblogs.com/yss818824/p/12349719.html
问题
问题:Can't open and lock privilege tables: Table 'mysql.user' doesn't exist;
解决:检查my.cnf 配置文件配置的数据文件路径是否正确。
basedir=/实际路径/mysql/
datadir=/实际路径/mysql/data/
问题:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
解决:http://www.chenruixuan.com/archives/517.html
问题:mysql5.7报错this is incompatible with sql_mode=only_full_group_by
解决:https://blog.csdn.net/yanzi920403/article/details/89207919
问题:centos7中MySQL Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
解决:https://blog.csdn.net/qq_33208851/article/details/104779561