mysql


grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
FLUSH PRIVILEGES;

exit;

原文地址:https://www.cnblogs.com/zhouwenwu/p/9962816.html