Allow user to create and alter table?

前端 未结 4 1046
你的背包
你的背包 2021-01-17 10:42

I have a current mysql user who has SELECT privileges for all the table in database example. How can give that user privileges to add new tables, a

4条回答
  •  一整个雨季
    2021-01-17 11:13

    GRANT SELECT, INSERT, DELETE ON database TO username@'localhost' IDENTIFIED BY 'password';

    You can use UPDATE in the list too.

提交回复
热议问题