0

我只想让我的一个用户访问几个表,但是当我执行以下查询时:

GRANT SELECT (credits_features_csgo, steam_code, credits_csgo, userid, credits_forum, credits_features_tf2, credits_tf2, credits_css, credits_features), INSERT (credits_features_csgo, steam_code, credits_csgo, userid, credits_forum, credits_features_tf2, credits_tf2, credits_css, credits_gocsgo, feature_update, credits_css, credits_gocsgo, feature) , userid, credits_forum, credits_features_tf2, credits_tf2, credits_css, credits_features), CREATE, REFERENCES (credits_features_csgo, steam_code, credits_csgo, userid, credits_forum, credits_features_tf2, credits_css, credits_features), ALTER ON bob_forumvb_user TO 'bob_store'@'localhost';

它执行成功,但是,当我去检查用户的权限时,它只被授予使用权限。数据库是 MyISAM。

4

1 回答 1

0

查询是正确的。如果没有错误,则授予所有权限。

尝试使用此查询检查权限 -

SHOW GRANTS FOR 'bob_store'@'localhost';
于 2012-11-30T07:35:50.733 回答