MySQL Forums
Forum List  »  MyISAM

Re: run mysql on read-only filesystem ?
Posted by: Aimee Lin
Date: July 17, 2006 09:34PM

Hi Ingo,

I have setup a master-slave replication and I have tried to make the slave only accepts read-only operations by setting read_only variable in the option file.

mysql> show variables like '%read_only%';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| read_only | ON |
+---------------+-------+

mysql> insert into test values(200);
Query OK, 1 row affected (0.06 sec)


But I am still able to perform insert statments on the slave database? Why, is there something else I need to do to make the slave server read-only?

Feed back much appreciated,
Aimee

Options: ReplyQuote


Subject
Views
Written By
Posted
3390
October 09, 2005 03:14PM
2311
October 09, 2005 03:15PM
Re: run mysql on read-only filesystem ?
5319
July 17, 2006 09:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.