Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permission problem

Status
Not open for further replies.

BangingHead

Programmer
Jan 10, 2004
2
GB
I am having real difficulty with the permission tables.

Have created a User who has all permissions for the database Mall (have checked in the Mysql db table and everything is set to 'y') yes I am not allowed to create permissions for other users. Every time i try it it says i don't have access to the 'mysql' database.

I even tried out of desperation setting the grant_priv to 'y' in the user table and still don't seem to be able to grant permissions. Does anyone know where I am going wrong?

Thank you very much
 
after u have direclty updated the grant table did u issue flush privilges or restart the mysqld server.

then check for case snsitivity. some of them are (undr unix)
==========================
Column Case sensistiv
------------------------------------------
Host No
User Yes
Password Yes
Db Yes
Table Name Yes
Column Name No
==========================
also check for the following equation

user or (db and host) or tables_priv or coulmns_priv.

this is the way server checks for permmissions



[ponder]
----------------
ur feedback is a very welcome desire
 
I did use grant initially to set up these permission i have tried specifying the grant ability in the permissions and using the with grant option at the end. it doesn't seem to like it so am probably going to have to set this to do it manually as i am noy sure i like the idea of setting up a super user even if it is being used only from a php script
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top