Allow user to create and alter table?

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

    Old; but just because it comes first when you query about "mysql grants to create table" GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, LOCK TABLES, SHOW VIEW ON database.* TO 'user'@'host'

提交回复
热议问题