//登录MYSQL
mysql -u root -p
//创建用户
insert into mysql.user(Host,User,Password) values(‘localhost’,‘jeecn’,password(‘jeecn’));
//刷新系统权限表
flush privileges;
grant select,insert,update,delete,create,drop on zhengxin.*to [email protected]27.0.0.1 identified by ‘123456′;
时间: 2024-08-09 06:41:33