Mysql_install_db cannot find file

前端 未结 6 1452
醉话见心
醉话见心 2021-02-05 20:01

I am trying to use mysql_install_db

I am getting the following error:

FATAL ERROR: Could not find ./bin/my_print_defaults

If you compi

6条回答
  •  孤街浪徒
    2021-02-05 20:49

    Anyone reading this after installing MySQL with Homebrew may have experienced this issue:

    https://stackoverflow.com/questions/4788381/getting-cant-connect-through-socket-tmp-mysql-when-installing-mysql-on-m

    And then found their way here after the final instruction didn't work. I simply ran

    mysql.server start
    

    after reading http://benjsicam.me/blog/how-to-install-mysql-on-mac-os-x-using-homebrew-tutorial

    Then it all started working miraculously (seems I just hadn't started it?!).

提交回复
热议问题