MySQL Error: #1142 - SELECT command denied to user

后端 未结 11 1082
情话喂你
情话喂你 2020-12-01 09:04

I\'m having troubles with a certain query on one of my servers. On all other places I\'ve tested it it works completely fine but on the server i want to use it it isn\'t wor

11条回答
  •  旧巷少年郎
    2020-12-01 10:07

    You need to give privileges to the particular user by giving the command mysql> GRANT ALL PRIVILEGES . To 'username'@'localhost'; and then give FLUSH PRIVILEGES; command. Then it won't give this error.., hope it helps thank you..!

提交回复
热议问题