解决办法是输入如下命令:

export PATH=/usr/local/mysql/bin:$PATH

将/usr/local/mysql/bin加到$PATH环境变量里

相关文章: