安装mysql-5.1.39时mysql_install_db出现FATAL ERROR: Could not find mysqld错误解决

2014-11-24 17:41:35 · 作者: · 浏览: 1

错误信息:
#./bin/mysql_install_db –user=mysql


FATAL ERROR: Could not find mysqld


The following directories were searched:


/usr/libexec
/usr/sbin
/usr/bin


If you compiled from source, you need to run ‘make install’to copy the software into the correct location ready for operation.


If you are using a binary release, you must either be at the top of the level of the extracted archivem or pass the –basedir option pointing to that location.


是因为已经安装了另外一个MySQL,试着将已经安装的MySQL卸载了.再重新执行。