![]() |
HELP: 1227 - Access denied; you need the SUPER privilege for this operation
I am in the process of moving a database over from a Goadaddy shared account to a new hosting account. All of the other databases went in fine, except a command that is part of the database in question. Every time I try to run the command through, I get the error:
#1227 - Access denied; you need the SUPER privilege for this operation Here is the original command/query from the database that as in Godaddy. In Godaddy, the usernames and database names are the same: Code:
-- Stand-in structure for view `username2`Here is the command/query I am trying to run through phpmyadmin in my new hosting account: Code:
-- Stand-in structure for view `username2` |
Don't ask me why, but even if a user is granted CREATE TABLE privileges, MySQL doesn't then automatically grant them CREATE VIEW privileges. The system admin (super user) must grant CREATE VIEW separately. So tell your new host to grant that permission to you. And while you are at it, tell them to grant you SHOW VIEW privileges. Would you believe that those two don't come together, either?
This whole topic is a noted bug in MySQL: Users can use mysqldump to save a database that they then aren't able to restore because if this. It's really a nutso limitation in MySQL. |
Thank you. It was a godaddy thing. I had someone help me do a mysqldump with SSH, and the command didn't even show up. It went in just fine to the new hosting account.
|
| All times are GMT +1. The time now is 07:31 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.