首页 > 代码库 > FATAL ERROR: Could not find ./bin/my_print_defaults
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
这次好像成功了。
日!!!!!!!!!!!!!!!!!!
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。