Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以在这里帮助我获得特权。我需要创建一个可以在数据库中删除表但不能删除数据库的用户?MySQL数据库版本:5.0.95
如果他可以删除表,他可以简单地输入DROP TABLE *;有效删除数据库内容的查询。允许用户只删除表没有任何好处,因此我认为没有办法这样做。
DROP TABLE *;