天天看點

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.

然後看看報錯資訊,如上所示。看來光加上運作賬号還是不行滴,沒辦法,根據提示試試吧