mysql怎么指定某个用户查看特定的数据库

2025-02-22 15:17:57
推荐回答(1个)
回答1:

grant all privileges on db_name
.* to user@localhost
授予用户名为user,对数据库db_name的所有权限(增删改查权限)