# 授权用户user拥有数据库student的所有权限
grant all privileges on student.* to user@localhost identified by '123456';
flush privileges; MySQL用户授权数据库
发布于 2022-11-17 341 次阅读
发布于 2022-11-17 341 次阅读
# 授权用户user拥有数据库student的所有权限
grant all privileges on student.* to user@localhost identified by '123456';
flush privileges;
Comments NOTHING