Mysql command not found in OS X 10.7

前端 未结 15 2264
臣服心动
臣服心动 2020-12-02 04:06

I cant get my mysql to start on os x 10.7. It is located in /usr/local/mysql/bin/mysql

I get command not found when I type mysql --version

15条回答
  •  孤街浪徒
    2020-12-02 04:11

    One alternative way is creating soft link in /usr/local/bin

    ln -s /usr/local/mysql/bin/mysql /usr/local/bin/mysql
    

    But if you need other executables like mysqldump, you will need to create soft link for them.

提交回复
热议问题