在重配mysql的时候碰到, 解决办法: 重新授权 grant all privileges on *.* to root@"%" identified by "."; 刷新权限 flush privileges; 相关文章: