环境 MySQL数据库版本:5.7.20 Navicat版本:Navicat Premium 12 问题 描述如图所示。 解决方法 1、选择用户。 2、选择root@localhost。 3、主机localhost改为%,然后保存。