home/chnsys/cms/config/mysql.server: line 251: /home/chnsys/cms/mysql5.7.17/bin/my_print_defaults: cannot execute binary fileMySQL server PID file could not be found! [FAILED]/home/chnsys/cms/config/mysql.server: line 251: /home/chnsys/cms/mysql5.7.17/bin/my_print_defaults: cannot execute binary fileStarting MySQL./home/chnsys/cms/mysql5.7.17/bin/mysqld_safe: line 516: /home/chnsys/cms/mysql5.7.17/bin/my_print_defaults: cannot execute binary file/home/chnsys/cms/mysql5.7.17/bin/mysqld_safe: line 522: /home/chnsys/cms/mysql5.7.17/bin/my_print_defaults: cannot execute binary fileThe server quit without updating PID file (/home/chnsys/cms[FAILED]7.17/data/localhost.localdomain.pid).
2 回答
千巷猫影
TA贡献1829条经验 获得超7个赞
这个/etc/init.d/mysql这个MySQL的启动脚本,是你自己写的吧。
想必,你的MySQL是使用源代码安装的。
因为,错误提示:Starting MySQL Couldn't find MySQL manager or server(@bindir@/mysqld_safe)
这样,你启动的时候,使用如下命令:
cd <your MySQL install PATH>
cd bin
.mysqld_safe --user=mysql& #注意前面有个点
- 2 回答
- 0 关注
- 4881 浏览
添加回答
举报
0/150
提交
取消