安装完mysql可以用,后来启动出现ERROR! MySQL server PID file could not be found!

安装完mysql可以用,后来启动出现ERROR! MySQL server PID file could not be found!,第1张

[root@centos var]# service mysqld stopMySQL manager or server PID file could not be found! [FAILED]解决办法:首先查看一下进程,执行top命令 看是否有command:mysqld假如存在就记录下pid:如111 使用命令kill 111 删除该进程再启动Mysql就ok了站长教学网 eduyo.com[root@centos mysql]# service mysql startStarting MySQL. [ OK ] (责任编辑:ken)

这个是压缩包文件,而不是你的安装文件,当你用./configure安装的时候,应该有用--prefix指定安装路径,那么就进入你的指定安装路径中,那里面有这个文件例如:./configure--prefix=/usr/local/mysqlcd/usr/local/mysql/scriptsmysql_install_db--user=mysql

[root@centos var]# service mysqld stopMySQL manager or server PID file could not be found! [FAILED]解决办法:首先查看一下进程,执行top命令 看是否有command:mysqld假如存在就记录下pid:如111 使用命令kill 111 删除该进程再启动Mysql就ok了站长教学网 eduyo.com[root@centos mysql]# service mysql startStarting MySQL. [ OK ] (责任编辑:ken)


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/8492059.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-17
下一篇 2023-04-17

发表评论

登录后才能评论

评论列表(0条)

保存