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
Subject
Views
Written By
Posted
3390
October 09, 2005 03:14PM
2311
October 09, 2005 03:15PM
3297
October 17, 2005 12:58PM
Re: run mysql on read-only filesystem ?
5319
July 17, 2006 09:34PM
3495
July 18, 2006 02:27PM
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.