1.cmd进入MySQL目录的bin目录下
2.输入 mysql -uroot -p
3.输入数据库密码
4.输入
create user 'root'@'%' identified by '你的数据库密码';
grant all privileges on *.* to 'root'@'%';
flush privileges;
1.cmd进入MySQL目录的bin目录下
2.输入 mysql -uroot -p
3.输入数据库密码
4.输入
create user 'root'@'%' identified by '你的数据库密码';
grant all privileges on *.* to 'root'@'%';
flush privileges;