1.打开mysql连接命令工具,输入如下三行命令
create user 'admin'@'%' identified by 'sg123456';
GRANT ALL ON *.* TO 'admin'@'%';
flush privileges;
1.打开mysql连接命令工具,输入如下三行命令
create user 'admin'@'%' identified by 'sg123456';
GRANT ALL ON *.* TO 'admin'@'%';
flush privileges;