MySQL没有远程连接权限设置

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;

flush privileges;

%代表所有的ip

posted @ 2017-11-28 22:44  静心_心静  阅读(362)  评论(0编辑  收藏  举报