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:修改帳
相關文章
相關標籤/搜索