jerma Posted April 7, 2009 Share Posted April 7, 2009 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) Quote Link to comment https://forums.phpfreaks.com/topic/152962-db-error/ Share on other sites More sharing options...
Yesideez Posted April 7, 2009 Share Posted April 7, 2009 Welcome to PHP Freaks! You need to check the permissions on the user account you've used to connect to the database with has all permissions set - it seems as if you're missing the permission to use INSERT with that user account. You can change it using phpMyAdmin. Quote Link to comment https://forums.phpfreaks.com/topic/152962-db-error/#findComment-803344 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.