版权声明:本博客为记录本人学习过程而开,内容大多从网上学习与整理所得,若侵权请告知! https://blog.csdn.net/Fly_as_tadpole/article/details/88943752
创建用户:
CREATE USER 'ebemate'@'localhost' IDENTIFIED BY 'ebematepasswd';
赋予所有权限:
grant all on *.* to 'ebemate'@'localhost';
之前写: grant all on *.* to 'ebemate'@'localhost' identified by 'ebematepasswd' ;一直报错
其实不用写identified by 'ebematepasswd'的。
后面再刷新一下 权限表:
flush privileges;
至此完成。