我是靠谱客的博主 高挑航空,这篇文章主要介绍Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe),现在分享给大家,希望可以做个参考。
centos7.5 安装mysql数据库报错
问题:
[root@db04-54 scripts]# /etc/init.d/mysqld start
/etc/init.d/mysqld: line 244: my_print_defaults: command not found
/etc/init.d/mysqld: line 264: cd: /usr/local/mysql: No such file or directory
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
解决方法:
[root@db02-52 scripts]# sed -i 's#/usr/local#/application#g' /etc/init.d/mysqld /application/mysql/bin/mysqld_safe
转载于:https://www.cnblogs.com/lvhanzhi/p/10527138.html
最后
以上就是高挑航空最近收集整理的关于Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)的全部内容,更多相关Starting内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复