标签:restart pre lld firewalld color tar date root账户 mysqld
先启动firewall防火墙:
service firewalld start
打开3306端口:
firewall-cmd --add-port=3306/tcp --permanent
mysql授权root账户远程访问:
update mysql.user set Host=‘%‘ where HOST=‘localhost‘ and User=‘root‘;
flush privileges;
重启mysql服务器:
service mysqld restart
搞定收工!!!!
抱怨一句,今天上海好热啊
标签:restart pre lld firewalld color tar date root账户 mysqld
原文地址:http://www.cnblogs.com/wenhainan/p/7249741.html