ubuntu下安装mysql出现FATAL ERROR: Could not find mysqld的处理

错误信息:
#./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.

解决办法:
scripts/mysql_install_db –user=mysql –basedir=/usr/local/mysql
(这里mysql是所使用的用户名,basedir是mysql的安装目录)

您可能感兴趣的文章

  1. mysql不能启动 Manager of pid-file quit without updating file.
  2. mysql select 蹩脚的语法
  3. phpMyAdmin 配置文件现在需要一个短语密码
  4. rails3.0 安装mysql2 失败,发生lmysqlclient 错误
  5. mysql 横向扩展性
  6. MySql用户创建、授权以及删除
  7. MySQL server has gone away
  8. MySQL中的mysqldump命令使用详解
  9. mysql my.cnf
  10. mysql 配置文件
分享到Twitter 分享到新浪微博 分享到开心 分享到QQ空间 分享到人人 分享到鲜果 分享到豆瓣 分享到网易微博 分享到搜狐微博
You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.

Powered by WordPress | Find Wireless Deals at BestInCellPhones.com. | Thanks to iCellPhoneDeals.com Free Cell Phones, Find Highest CD Rates and Incinerador De Grasa Revisión