mysql远程连接错误10038--navicat for mysql (10038)

1.确定3306端口是否对外开放

如果是阿里云服务器,需要添加安全组规则

2.授权

  执行sql,账号密码按照自己服务器而定

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

 以上是本人的解决经历

posted @ 2018-01-05 16:26  zph前端  阅读(1309)  评论(0编辑  收藏  举报