# Read-only

**URL:** <https://forums.percona.com/t/read-only/2999>\
**Category:** Other MySQL® Questions\
**Created:** [October 9, 2013, 11:58am UTC](https://forums.percona.com/t/read-only/2999 "2013-10-09T11:58:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fonsecacassio](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@fonsecacassio](https://forums.percona.com/u/fonsecacassio)\
**Post date:** [October 9, 2013, 11:58am UTC](https://forums.percona.com/t/read-only/2999/1 "2013-10-09T11:58:38Z")

</div>

Hello,

We are using Percona for replication. Although, one of our nodes has read-only option activated. Can this cause any trouble in our replication?

---

<div class="post-metadata">

**Author:** ![scott.nemes](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/scott.nemes/32/5_2.png) [@scott.nemes](https://forums.percona.com/u/scott.nemes)\
**Post date:** [October 9, 2013, 1:13pm UTC](https://forums.percona.com/t/read-only/2999/2 "2013-10-09T13:13:22Z")

</div>

Enabling the read-only option on a slave is a best practice, and will not interfere with replication.

Keep in mind that if a user has the SUPER privilege, they will be able to modify data regardless of if the server is set to read-only or not.

---

<div class="post-metadata">

**Author:** ![niljoshi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/niljoshi/32/16889_2.png) [@niljoshi](https://forums.percona.com/u/niljoshi)\
**Post date:** [October 10, 2013, 2:52am UTC](https://forums.percona.com/t/read-only/2999/3 "2013-10-10T02:52:02Z")

</div>

Hi,

As Scott said, read\_only option should be enable on slave as a best practice and to avoid duplicate entry errors on slave. I would suggest you to read below.  
[URL][MySQL :: MySQL 8.0 Reference Manual :: 5.1.8 Server System Variables](http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_read_only%5B/URL%5D)  
Thanks.

---

<div class="post-metadata">

**Author:** ![fonsecacassio](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@fonsecacassio](https://forums.percona.com/u/fonsecacassio)\
**Post date:** [January 7, 2014, 2:25pm UTC](https://forums.percona.com/t/read-only/2999/4 "2014-01-07T14:25:07Z")

</div>

Thank’s,

Your help was very efficient.
