mysql创建用户

mysql创建用户

学习了:https://blog.csdn.net/leili0806/article/details/8573636

create user 'root'@'127.0.0.1' identified by 'root';

grant all privileges on *.* to root@127.0.0.1;

flush privileges;

原文地址:https://www.cnblogs.com/stono/p/9144087.html