当前位置:Gxlcms > 数据库问题 > mysql开启远程连接

mysql开启远程连接

时间:2021-07-01 10:21:17 帮助过:4人阅读

address 127.0.0.1

或添加

bind-address 0.0.0.0

mysql -u root -p 进入mysql,执行

 

grant all privileges on *.* to root@"%" identified by 123456;

然后

flush privileges;

重启mysql

mysql开启远程连接

标签:

人气教程排行