grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
解釋: grant [許可權] on [database.table] to [使用者名稱]@[IP] identified by [密碼];
flush privileges; //重新整理許可權
select host,user from user;
grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
解釋: grant [許可權] on [database.table] to [使用者名稱]@[IP] identified by [密碼];
flush privileges; //重新整理許可權
select host,user from user;