码迷,mamicode.com
首页 > 其他好文 > 详细

FATAL ERROR: Could not find ./bin/my_print_defaults

时间:2014-06-28 06:21:53      阅读:313      评论:0      收藏:0      [点我收藏+]

标签:fatal error: could not find ./bin/my_print_defaults

我勒个去,上午刚搞好MySQL的编译安装,玛德一重启计算机然后重启服务又报错:

[root@localhost mysql-5.5.13]# /usr/local/mysql/scripts/mysql_install_db --user=mysql


FATAL ERROR: Could not find ./bin/my_print_defaults


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

level of the extracted archive, or pass the --basedir option

pointing to that location.



然后看看报错信息,如上所示。看来光加上运行账号还是不行滴,没办法,根据提示试试吧

[root@localhost mysql-5.5.13]#/usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql

这次好像成功了。

日!!!!!!!!!!!!!!!!!!

FATAL ERROR: Could not find ./bin/my_print_defaults,布布扣,bubuko.com

FATAL ERROR: Could not find ./bin/my_print_defaults

标签:fatal error: could not find ./bin/my_print_defaults

原文地址:http://ludihua.blog.51cto.com/4601284/1431626

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!