Mysql command not found in OS X 10.7

前端 未结 15 2222
臣服心动
臣服心动 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条回答
  •  萌比男神i
    2020-12-02 04:32

    May be i will help out some of you that even though if you are unable to open mysql from terminal after trying changing path in .bash_profile

    then you always found the error "MYSQL not found" hence you can use the following command directly it will ask for your password and sql bash is opened

    /usr/local/mysql/bin/mysql -u root -p

提交回复
热议问题