DB Error

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
jerma
Forum Newbie
Posts: 2
Joined: Tue Apr 07, 2009 5:01 am

DB Error

Post by jerma »

i am using php5

with mysql 5

in my system i and can access any table to add or delete update


but one table
i can delete from it but no insert
i got this massage

INSERT command denied to user 'hassan_aly'@'localhost' for table 'aqar'


my code run fine on my machine (localhost)
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: DB Error

Post by jayshields »

It's to do with permissions. Do you have root access to the MySQL server?
jerma
Forum Newbie
Posts: 2
Joined: Tue Apr 07, 2009 5:01 am

Re: DB Error

Post by jerma »

no i dont have
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: DB Error

Post by jayshields »

Get the DBA to change your permissions then. Must be an error anyway because I don't know why any regular user would have permission to delete but not insert.
Post Reply