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

Xshell terminal type mysql -u root -p

An error occurred: -bash: mysql: command not found

enter:alias mysql=/usr/local/mysql/bin/mysql

Repeat mysql -u root -p again and enter the mysql password

Guess you like

Origin blog.csdn.net/weixin_44299027/article/details/110849024