mysql不能外网访问解决方法:1、在/etc/mysql/my.cnf中的[mysqld]段注释掉bind-address = 127.0.0.12、给用户授权允许远程访问:grant all privileges on *.* to root@"%" identified by "pwd" with gran……继续阅读 » 搞java代码 3年前 (2022-05-21) 15浏览 0评论0个赞
mysql设置允许外网访问的方法:1、在/etc/my.cnf配置文件[mysqld]中增加port=3306 bind-address=0.0.0.0vim /etc/my.cnfport=3306 bind-address=0.0.0.0www#gaodaima.com来源gaodai#ma#com搞……继续阅读 » 搞java代码 3年前 (2022-05-21) 17浏览 0评论0个赞