# Table 'gtid\_executed' is read only

**URL:** <https://forums.percona.com/t/table-gtid-executed-is-read-only/5413>\
**Category:** Other MySQL® Questions\
**Created:** [February 14, 2017, 10:48am UTC](https://forums.percona.com/t/table-gtid-executed-is-read-only/5413 "2017-02-14T10:48:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ron\_Johnson](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ron_johnson/32/1135_2.png) [@Ron\_Johnson](https://forums.percona.com/u/Ron_Johnson)\
**Post date:** [February 14, 2017, 10:48am UTC](https://forums.percona.com/t/table-gtid-executed-is-read-only/5413/1 "2017-02-14T10:48:53Z")

</div>

Hi,

$ mysql --version  
mysql Ver 14.14 Distrib 5.7.14-8, for Linux (x86\_64) using 6.0

I’m trying to enable slave replication, and get the above error when running this command on the slave:

```auto
mysql> SET &#64;&#64;global.gtid_purged='b5180a5d-4c0e-ee19-7685-3479989fa43a:1-4';
ERROR 1036 (HY000): Table 'gtid_executed' is read only

```

I put “innodb-read-only = 1” in the slave /etc/my.cnf, but this is a global variable, so wouldn’t think that would be a problem.

Thanks
