【Linux命令】-bash: mysql: command not found

Xshell终端输入mysql -u root -p

出现错误:-bash: mysql: command not found

输入:alias mysql=/usr/local/mysql/bin/mysql

再重复mysql -u root -p,输入mysql口令即可

猜你喜欢

转载自blog.csdn.net/weixin_44299027/article/details/110849024
今日推荐