在配置mysql的时候,总是提示:
-bash: mysql: command not found
最后发现需要确保.bash_profile 里面的路径及名称正确
alias mysql='/usr/local/mysql-5.1.46-osx10.6-x86_64/bin/mysql'
alias mysqladmin='/usr/local/mysql-5.1.46-osx10.6-x86_64/bin/mysqladmin'
在配置mysql的时候,总是提示:
-bash: mysql: command not found
最后发现需要确保.bash_profile 里面的路径及名称正确
alias mysql='/usr/local/mysql-5.1.46-osx10.6-x86_64/bin/mysql'
alias mysqladmin='/usr/local/mysql-5.1.46-osx10.6-x86_64/bin/mysqladmin'