当前位置:Gxlcms > 数据库问题 > centos 7 linux系统安装 mysql5.7.17(glibc版)

centos 7 linux系统安装 mysql5.7.17(glibc版)

时间:2021-07-01 10:21:17 帮助过:23人阅读

mysql> flush privileges;

    

 

 

按照作者的方法试过可以,但是启动的时候报错

service mysqld start
Starting MySQL...The server quit without updating PID file [FAILED]cal/mysql/data/xxxxxx.pid).

这是因为my.cnf配置中socket配置路径不存在,并且属主属组不是mysql,修改后我这里问题解决。

 添加环境变量的时候,我是新建/etc/profile.d/mysql.sh 加入的。

centos 7 linux系统安装 mysql5.7.17(glibc版)

标签:排除   其他   分享图片   kconfig   yum   update   存储   增加   lct   

人气教程排行