阅读760 返回首页    go 阿里云 go 技术社区[云栖]


mysql root????????????????????????????????????????????????-??????-????????????-?????????

???mysql??????????????????????????????????????????????????????????????????????????????????????????????????????????????????phpmyadmin????????????mysql????????????????????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????mysqld_safe --skip-grant-tables --skip-networking &?????????????????????????????????????????????????????????????????????????????????????????????????????????mysql??????????????????user???????????????????????????%??????????????????Host???????????????localhost??????????????????
????????????
mysqld_safe --skip-grant-tables --skip-networking &
mysql -uroot -p
??????????????????????????????
use mysql;
show tables;
select Host from user where User='root';
Update user set Host='localhost' where Host='%';
flush privileges???
service mysqld restart
-----------------------------
??????????????????????????????????????????????????????????????????????????????--skip-grant-tables??????grant??????????????????
------------????????????????????????????????????root????????????????????????????????????????????????????????????????????????????????????extmail???extman???????????????????????????????????????????????????????????????????????????????????????skip-grant-tables?????????????????????????????????????????????????????????????????????-----??????????????????????????????????????????????????????????????????????????????????????????????????????????????????

最后更新:2017-11-06 13:03:42

  上一篇:go  面向C-RAN的前传网络承载方案
  下一篇:go  php timezone获取错误