当前位置:Gxlcms > 数据库问题 > 关于Mysql不能被远程连接的问题

关于Mysql不能被远程连接的问题

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

1、修改mysql配置文件

  注释掉   #bind_address:127.0.0.1

2、授权账户远程连接权限

  grant all priveleges on ‘.‘ To ‘myuser‘@‘%‘ identified by ‘mypassword‘ with grant option

  myuser:账户名    mypassword:账户密码

关于Mysql不能被远程连接的问题

标签:

人气教程排行