安装mysql-5.1.30时mysql_install_db出现FATAL ERROR: Could not find mysqld错误解决
安 装或者重新mysql-5.1.30时mysql_install_db出现FATAL ERROR: Could not find mysqld错误解决,上网搜寻了结果很多,却没有找到解决答案,最后发现安装时/etc/mysql文件夹下有个配置文件my.cnf,而我在安装时运 行了cp support-files/my-medium.cnf /etc/my.cnf,照成这个
解决方法:
mv /etc/mysql/my.cnf /etc/mysql/my.cnf.bak
cp support-files/my-medium.cnf /etc/cnf