标签: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