简体   繁体   中英

INSERT,GRANT command denied to user 'user'@'host' for table 'table'

I tried to execute a query, but it returned the error INSERT command denied etc. . I googled and I found that I should grant the permission, but it returns me another error!

INSERT,GRANT command denied to user 'user'@'host' for table 'table'

What should I do? Thanks :)

PS: I'm Italian, sorry for any error :(

if you are the admin of this db, have you done:

  GRANT INSERT ON db.table TO 'user'@'host';

and do not forget to flush privileges?

if you are not the admin you need to contact the admin to do this for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM