0
嘗試使用MySQL for rails應用程序並從dev.mysql.com下載它。zsh:找不到命令:mysql
成功安裝包,看到選項來啓動和停止偏好窗格中的服務器,如果我繼續前進,在我的終端執行以下命令
mysql --version
我最終的誤差 -
zsh: command not found: mysql
我一直在尋找這個錯誤,明白,這事做與我$PATH
變量,如果echo $PATH
顯示值我獲得以下輸出 -
/Library/Frameworks/Python.framework/Versions/3.4/bin:/Users/aniruddhabarapatre1/.rvm/gems/ruby-2.2.1/bin:/Users/aniruddhabarapatre1/.rvm/gems/[email protected]/bin:/Users/aniruddhabarapatre1/.rvm/rubies/ruby-2.2.1/bin:/usr/local/bin:/Users/aniruddhabarapatre1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/opt/ImageMagick/bin:/usr/local/MacGPG2/bin:/Users/aniruddhabarapatre1/.rvm/bin
如何解決此錯誤以啓動並運行Mysql。
別忘了重新啓動終端:) – sumit