Hi,
I am testing out mysql5.6.7 GTID based replication features. I am having problems starting replication since the replication breaks with errors like the following:
Error 'Updates to non-transactional tables are forbidden when DISABLE_GTID_UNSAFE_STATEMENTS = 1.' on query. Default database: 'mysql'. Query: 'INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;'
If I ignore the mysql database to be replicated, it works well. I understand that since mysql system tables are non-transactional(MyISAM) the GTID replication breaks. But I have a question, since I have, master_info_repository='table' and relay_log_info_repository='table' in my.cnf, is it not important for these new innodb tables like slave_master_info and slave_relay_log_info to be replicated?
Also can I setup full replication without ignoring any database and still have GTID based replication successfully setup?
Any suggestions or corrective directions are highly appreciated.
Thanks in advance,
Jayesh
I am testing out mysql5.6.7 GTID based replication features. I am having problems starting replication since the replication breaks with errors like the following:
Error 'Updates to non-transactional tables are forbidden when DISABLE_GTID_UNSAFE_STATEMENTS = 1.' on query. Default database: 'mysql'. Query: 'INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;'
If I ignore the mysql database to be replicated, it works well. I understand that since mysql system tables are non-transactional(MyISAM) the GTID replication breaks. But I have a question, since I have, master_info_repository='table' and relay_log_info_repository='table' in my.cnf, is it not important for these new innodb tables like slave_master_info and slave_relay_log_info to be replicated?
Also can I setup full replication without ignoring any database and still have GTID based replication successfully setup?
Any suggestions or corrective directions are highly appreciated.
Thanks in advance,
Jayesh