我試圖用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山獅。我只是不知道該怎麼做。那裏有很多不同的建議。好像我只是在挖一個洞。 –