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

1、修改mysql配置文件

  注释掉   #bind_address:127.0.0.1

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

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

  myuser:账户名    mypassword:账户密码

posted @ 2016-01-22 09:29  jyLi  阅读(344)  评论(0编辑  收藏  举报