我试图用mysql_install_db的mysql_install_db的找不到文件
我收到以下错误:
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.
我使用
which my_print_defaults
它返回的尝试:
/usr/local/bin/my_print_defaults
所以我尝试了e命令:
mysql_install_db --base-dir=/usr/local/bin/
虽然我仍然收到相同的错误。请帮忙。
以及你编译从源代码的MySQL? –
听起来像一个破碎的MySQL安装。你试图安装哪个平台? – tadman
@DanyKhalife山狮。我只是不知道该怎么做。那里有很多不同的建议。好像我只是在挖一个洞。 –