赞
踩
mysql -u root -p出现错误:-bash: mysql: command not found 解决方法:
输入:alias mysql=/usr/local/mysql/bin/mysql 再重复mysql -u root -p,输入mysql口令即可
alias mysql=/usr/local/mysql/bin/mysql