954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

mySQL permissions ... a few newbie questions

I haven't used the mySQL permissions mechanism to any great degree & could use a little help while still at the design stage.

Is it possible to grant certain users access only to certain RECORDS within a table (based on the value of a field in those records).

If not, I guess I have to use separate tables or views for each user.

Some initial guidance or links to reference material would be greatly appreciated. TIA

Edit: I am reading the manuals BTW - http://dev.mysql.com/doc/#manual

haggis-man
Newbie Poster
19 posts since Sep 2009
Reputation Points: 10
Solved Threads: 1
 
Is it possible to grant certain users access only to certain RECORDS within a table (based on the value of a field in those records).


No, you can not.If not, I guess I have to use separate tables or views for each user.
You are right, you have to use views.

mwasif
Posting Whiz
315 posts since Dec 2007
Reputation Points: 29
Solved Threads: 48
 

Many thanks for that mwasif - I dropped off reading the mySQL documentation last night but had pretty much formed that opinion. Good to have it confirmed before setting myself unattainable goals. :)

haggis-man
Newbie Poster
19 posts since Sep 2009
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You