第一步: CREATE USER 'root'@'%' IDENTIFIED BY 'root';
如果提示已经有此用户了, 就删了重新建
drop user 'root'@'%';
第二步: grant all privileges on *.* to 'root'@'%';
第一步: CREATE USER 'root'@'%' IDENTIFIED BY 'root';
如果提示已经有此用户了, 就删了重新建
drop user 'root'@'%';
第二步: grant all privileges on *.* to 'root'@'%';