1、修改mysql配置文件
注释掉 #bind_address:127.0.0.1
2、授权账户远程连接权限
grant all priveleges on '.' To 'myuser'@'%' identified by 'mypassword' with grant option
myuser:账户名 mypassword:账户密码
1、修改mysql配置文件
注释掉 #bind_address:127.0.0.1
2、授权账户远程连接权限
grant all priveleges on '.' To 'myuser'@'%' identified by 'mypassword' with grant option
myuser:账户名 mypassword:账户密码