PDA

Click to See Complete Forum and Search --> : CREATE VIEW command denied to user


sridharao
Jul 17th, 2009, 10:48 AM
I am using create view command. It works fine in my desktop with wampserver. On my host server, I face this error, "CREATE VIEW command denied to user..."

Apparently there is no rights or privileges to run this command. There is no feedback from my host.

I tried using this statement before create command
mysql_query("GRANT CREATE VIEW ON *.* TO 'user1'@'www.mysite.com'");

The error persists, any solution?

kows
Jul 17th, 2009, 04:32 PM
talk to your host. if your user account doesn't have the permissions to do it, there isn't really anything you can do to get around it.

sridharao
Jul 18th, 2009, 08:51 AM
:check:My host responded that I don't have create view permission. I tried to get around the problem by inserting into specially created tables, but then this creates problems with multiple users and requires the tables to be locked. This itself has created new problems, I have opened a new thread to discuss that.