[Mysql启动报错]/etc/init.d/mysqld: line 256: my_print_defaults: command not found

来源:互联网 发布:java float精度 编辑:程序博客网 时间:2024/05/17 10:52

启动Mysql时报错:

[root@mysql]# service mysqld status
/etc/init.d/mysqld: line 256: my_print_defaults: command not found
MySQL is not running[FAILED]

---------------------------------------------------------分割线---------------------------------------------------------

这里是命令没有找到,解决方法:

cp /usr/local/mysql/bin/my_print_defaults /usr/bin

---------------------------------------------------------运行结果---------------------------------------------------------

[root@OCMP-CQ-1 bin]# service mysqld status
MySQL is not running[FAILED]

原创粉丝点击