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;

 以上是本人的解决经历

原文地址:https://www.cnblogs.com/zph666/p/8205339.html