Linux下Mysql设置外网能够访问

Linux下Mysql设置外网能够访问 1:设置mysql的配置文件 /etc/mysql/my.cnf 或 /etc/my.cnf 找到 bind-address =127.0.0.1 将其注释掉;//做用是使得再也不只容许本地访问; 重启mysql:/etc/init.d/mysql restart; 或 sudo service mysql restart; 2:修改帐
相关文章
相关标签/搜索