1.service mysqld start
错误:/etc/init.d/mysqld: line 252: my_print_defaults: command not found
错误:/etc/init.d/mysqld: line 252: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/mysql/bin/mysqld_safe)
出现了这个错误,各种搜索各种google都没有解决,最后发现是这个配置文件出现问题
原来是在/etc/init.d/mysql.d文件中配置basedir这个出现错误
后来改成正确的安装路径就没有问题了!