Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
Databases
10:51 pm Aug 24, 2026
This page requires javascript.
Forum Moderators:
open
Message Too Old, No Replies
Read only mysql tables
Sansovino
Msg#:4282862
8:38 am on Mar 17, 2011
(gmt 0)
Hi,
is it possible to set some tables in a mysql database to read only while others are still writable?
Thanks
coopster
Msg#:4282926
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.
rocknbil
Msg#:4283062
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.
Sansovino
Msg#:4304694
9:21 am on Apr 27, 2011
(gmt 0)
Thanks - I'll try that.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Jul
,
Jun
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
August 2026 Google Search Observations
Annoying Crawler, Bot, or what?
AdSense Earnings and Observations - August 2026
Penetration testing using AI bots
How has AI changed your work?
Do you still build external links in 2026?
Home
Forums Index
Server Side
/
Databases
10:51 pm Aug 24, 2026