在终端输入mysql -u root -p 出现如下问题: “zsh: command not found: mysql” 输入"alias mysql=/usr/local/mysql/bin/mysql",即可解决: 再输入"mysql -u root -p ",输入密码即可: