homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderators: physics

Databases Forum

Read only mysql tables

 8:38 am on Mar 17, 2011 (gmt 0)


is it possible to set some tables in a mysql database to read only while others are still writable?




 1:00 pm on Mar 17, 2011 (gmt 0)

Welcome to WebmasterWorld, Sansovino.

Have you read through The MySQL Access Privilege System [dev.mysql.com] and Account Management Statements [dev.mysql.com]?

There is a lot of detail regarding database connection, database and table security and user-level security. You may want to start there.


 3:59 pm on Mar 17, 2011 (gmt 0)

One way is to connect using two users, assign read only privileges to the "public" user, write privileges to the "admin" user.


 9:21 am on Apr 27, 2011 (gmt 0)

Thanks - I'll try that.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Databases
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved