grant all privileges on *.* to 'root'@‘%’ identified by '123456';
*.* 表示所有资源。
刷新权限
flush privileges;
grant all privileges on *.* to 'root'@‘%’ identified by '123456';
*.* 表示所有资源。
刷新权限
flush privileges;
转载于:https://www.cnblogs.com/zongyl/p/10130612.html