mysql 让所有IP访问数据库

收回所有的授权:

revoke all privileges on *.* from root@'%';

授权所有ip:

grant all privileges on *.* to 'root'@'%' identified by '密码';

posted @ 2018-06-26 10:09  柳刚  阅读(273)  评论(0编辑  收藏  举报