mysql无法远程访问10061错误 ubuntu 16.04LTS mysql

版权声明:此文章版权归呆呆所有,转发请注明出处! https://blog.csdn.net/zhangyu4863/article/details/82733901

先直接说解决方案

/etc/mysql/mysqld.conf.d/mysqld.cnf

bind-address = 127.0.0.1

IP改为0.0.0.0

sudo service mysql restart

5.5.7 之后是mysql,不再是mysqld了

环境说明

ubuntu 16.04LTS

mysql 5.7.13 (APT直接装的)

问题说明

别的文章说的几种授权方式授权后仍然无法远程连接

mysql设置路径新版本和新系统和原来有不同

猜你喜欢

转载自blog.csdn.net/zhangyu4863/article/details/82733901