Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

MySQL Multi-source replication with triggers

$
0
0

I was setting up MySQL multisource replication for some dataanalysis purpose.

I applied the replication filters on the slave to replicate only selected databases. The problem Im facing is now is, some of the databases have got triggers which breaks the replication with the below error.

Last_SQL_Error: Error 'The user specified as a definer ('user'@'host') does not exist' on query

I know, since we are not replicating the mysql database to the slave the definer user wont exists on the slave.

Is there any work around to overcome this rather creating the definers manually in the slave server?

Thank you,


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>