如何授予“选择”权限MySQL 中的多个表?

发布于 2024-09-04 17:29:51 字数 128 浏览 1 评论 0原文

我想做类似的事情

grant select on arpg.t_account,arpg.t_char to peeker@'localhost';

但失败了,有什么办法吗?

i want to do something like

grant select on arpg.t_account,arpg.t_char to peeker@'localhost';

but fails, is there a way to do so?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尽揽少女心 2024-09-11 17:29:51

不行,你可以写一个脚本来帮你管理。 MySQL 管理工具中还有一些功能可让您通过点击轻松完成此操作。

You can't, you can write a script to manage it for you. There is also some functionality in the MySQL admin tools to let you do it with point and click ease.

网名女生简单气质 2024-09-11 17:29:51

没有。没有在一个单一的声明中。您甚至不能在此处使用通配符,例如 arpg.t_% 。

Nope. Not in a single statement. You can't even use a wildcard such as arpg.t_% here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文