Home >Database >Mysql Tutorial >mysql开启远程连接(mysql开启远程访问)_MySQL

mysql开启远程连接(mysql开启远程访问)_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:25:56918browse

bitsCN.com


//建议设置固定IP
mysql> GRANT ALL PRIVILEGES ON *.* TO root@"8.8.8.8" IDENTIFIED BY "root";
mysql> flush privileges;
//修改防火墙
iptables -I INPUT -p tcp --dport 3306 -j ACCEPT

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn