1.创建新用户并赋予指定数据库权限给该用户(用户名:'root'@'localhost',密码:‘password’)
CREATE USER 'root'@'localhost' IDENTIFIED BY 'password';
grant all privileges on ctsida.* to root@localhost identified by 'password';
flush privileges;
本文共 264 字,大约阅读时间需要 1 分钟。
1.创建新用户并赋予指定数据库权限给该用户(用户名:'root'@'localhost',密码:‘password’)
CREATE USER 'root'@'localhost' IDENTIFIED BY 'password';
grant all privileges on ctsida.* to root@localhost identified by 'password';
flush privileges;
转载于:https://www.cnblogs.com/walkingzq/p/8881257.html