start MySQL server from command line on Mac OS Lion

前端 未结 14 1403
名媛妹妹
名媛妹妹 2020-11-30 16:22

I installed mySQL for my Mac. Beside starting the SQL server with mySQL.prefPane tool installed in System Preference, I want to know the instruction to start from command-li

相关标签:
14条回答
  • 2020-11-30 16:57

    Simply:

    mysql.server start

    mysql.server stop

    mysql.server restart

    0 讨论(0)
  • 2020-11-30 16:57

    If it's installed with homebrew try just typing down mysql.server in terminal and that should be it. AFAIK it executable will be under /usr/local/bin/mysql.server.

    If not you can always run following "locate mysql.server" which will tell you where to find such file.

    0 讨论(0)
提交回复
热议问题