yang哥

博客园 首页 新随笔 联系 订阅 管理
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;
flush privileges;


root 用户名
123456 密码

如果还无法登录就关闭系统防火墙


在linux关闭防火墙可以这样:
1. 重启系统生效 
开启: chkconfig iptables on 
关闭: chkconfig iptables off

2. 即时生效,重启后失效 
开启: service iptables start 
关闭: service iptables stop 

 

posted on 2017-09-27 16:39  woniuyang  阅读(523)  评论(0编辑  收藏  举报