Results 1 to 3 of 3

Thread: CREATE VIEW command denied to user

  1. #1

    Thread Starter
    Lively Member sridharao's Avatar
    Join Date
    Feb 2007
    Posts
    106

    CREATE VIEW command denied to user

    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
    PHP Code:
    mysql_query("GRANT CREATE VIEW ON *.* TO 'user1'@'www.mysite.com'"); 
    The error persists, any solution?
    Save trees, avoid plastics, say no to zoo, go veg, recycle as much, live holistic

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: CREATE VIEW command denied to user

    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.

  3. #3

    Thread Starter
    Lively Member sridharao's Avatar
    Join Date
    Feb 2007
    Posts
    106

    Resolved Re: CREATE VIEW command denied to user

    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.
    Last edited by sridharao; Jul 21st, 2009 at 08:54 AM.
    Save trees, avoid plastics, say no to zoo, go veg, recycle as much, live holistic

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width