zsh: command not found: mysql

后端 未结 5 1554
说谎
说谎 2021-02-05 07:42

Trying to use MySQL for rails app and downloaded it from dev.mysql.com.

After successfully installing the package and seeing the option to start and stop the server from

5条回答
  •  花落未央
    2021-02-05 08:19

    This was supposed to be a problem within my configuration and $PATH variable. I followed mysql on mactutorial to resolve this.

    In my terminal opened up configuration by going to vi ~/.zshrc. Located line for export PATH="..." and appended :/usr/local/mysql/bin to it.

    Above procedure resolved my issue.

提交回复
热议问题