0.82sp1 正在运行,我注意到每个用户都可以通过调用 show databases;
命令查看所有数据库。即使我撤销给定用户的所有权限。是否有一些设置允许默认显示数据库?我怎样才能阻止它。
最佳答案
免责声明:从 ajreal 评论中窃取
If the server was started with the --skip-show-database option, you cannot use this statement (SHOW DATABASES) at all unless you have the SHOW DATABASES privilege.
关于mysql - 如何防止mysql用户显示所有数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7307782/