- 博客(1)
- 收藏
- 关注
原创 Mysql8.0 子数据库账户及密码创建和赋权
create user '子账号'@'%' identified with mysql_native_password by '密码';#grant all privileges on 子数据库库名.* to '子账号'@'%' with grant option;grant all privileges on 库名.* to '账号'@'%' with grant option;#使用管理员root用户授权,库名为子数据库名,账号为管理员账号。第一步:在大数据库下授grant权限给子数据库。
2022-11-09 13:11:49
912
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅