Allow user to create and alter table?

前端 未结 4 1076
你的背包
你的背包 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:14

    maybe something like

    GRANT ALL PRIVILEGES ON example . * TO 'user'@'%';

    This gives all the privileges for ONLY the 'example' database to user

提交回复
热议问题