mysql只能localhost连接,解决不允许其他机器去访问

时间:2015-07-08 11:10:53   收藏:0   阅读:345

登陆mysql,执行下列sql语句

    use mysql;

    update user set host=‘%‘ where user = ‘root‘;

    flush privileges;

原文:http://my.oschina.net/thysir/blog/476046

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!