解决方法: mysql>grant all on *.* to aaa@‘%‘ identified by ‘123456‘; (记得在此语句后面加上英文的分号) 转载于:https://www.cnblogs.com/cbxBlog/p/9709615.html