GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123';
GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY '123';
FLUSH PRIVILEGES;
//其中root为数据库用户名,123为数据库用户登录密码
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123';
GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY '123';
FLUSH PRIVILEGES;
//其中root为数据库用户名,123为数据库用户登录密码