启动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]