mysql 修改用户权限,允许远程连接数据库

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

flush privileges;

 

posted @ 2016-02-25 18:04  麦田守望者~  阅读(622)  评论(0编辑  收藏  举报