Navicat for MySQL 报(10038)错误

通过Navicat for MySQL连接到虚拟机中的MySQL,但是报了图的错误

 

要进行两步:

1)授权

mysql>grant all privileges on *.*  to  'root'@'%'  identified by 'youpassword'  with grant option;

mysql>flush privileges;

2)查看防火墙是否添加了3306的端口

(我直接关闭了防火墙)

posted @ 2017-02-09 12:58  dingcx2013  阅读(340)  评论(0编辑  收藏  举报