简体   繁体   中英

Why does Mysql not start when inside of $ /usr/local/mysql/bin on Mac OS X Lion?

I installed mysql on my Mac, and for some reason when I am inside the folder with the executables, it does not start mysql, but when putting /usr/local/mysql/bin/mysql -u username -p it does. Is there a reason for this, or is it only happening to me? I am running Lion.

The /usr/local/mysql/bin folder is most likely not in your path.

Do a echo $PATH and check it out for yourself to make sure

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM