mysql replication missed quite a lot SQL statement
I have set up a master/slave with mysql-5.1.73 The master's binlog format is "statement". The master and slave seemed running very well with slave status: Slave_IO_Running: Yes Slave_SQL_Running: Yes...
View ArticleMysql replication is enabled but stuck at "waiting for binlog to be...
I have set up replication between an existing database (server-id=23), and a new one (server-id=51). I have followed the steps in this stackoverflow question, but replication is not happening. On the...
View ArticleSlave not getting replicated SERVER_UUID error
Unable to start replication Master-Slave, I have searched a lot for this but unable to get the Server-UUID of both the server. Do we have any solution for this. Scenario: I have created new slave which...
View ArticleBi-directional replication for the same MySQL table
AppA stores/retrieves data from dbA.tableA AppB stores/retrieves data from dbB.tableA tableA definition is the same across these databases. To start with dbB.tableA was copied from dbA.tableA (assuming...
View ArticlePostgresql Chained Slaves and Slave Promotion
So I have a setup like Master -> Slave1 -> Slave2. Slave1 replicates from Master and Slave2 replicates from Slave1. If I promote Slave1 to master is it possible for Slave2 to continue replicating...
View ArticleMySQL 5.6 replication causes 'waiting for table lock'
All of the sudden queries on slave server stopped with status "Waiting for table level lock" I restart mysql service and stop replications and locking does not show up anymore. Once I turn replications...
View ArticleRestore databases from prod to test server with data over X days
We've got a list from app owners to restore say 20 databases from a total of 100 available production server databases onto a test server on weekly basis. Moreover, they require it in a way that backup...
View ArticleConfiguring slave from EC2 master to Amazon RDS slave
I am configuring replication from EC2 master to Amazon RDS instance. After starting the slave, I don't see any errors but I see slave_IO: _thread is connecting. Master version:5.6.23 Slave...
View ArticleReplicated databases across locations; delay in application
I have merge replication setup on a publisher SQL Server with subscriber instances of the database on different locations with different SANs. This is used for running a vendor-supported application. I...
View ArticleVague replication error code 2005
2015-04-07 13:49:53 23758 [ERROR] Slave I/O: error connecting to master 'replication'@master-host:3306' - retry-time: 60 retries: 1, Error_code: 2005 This was after attempting to do a change master to...
View ArticleMySQL Circular Replication
I have this scenario where I have 4 MySQL servers (A,B,C,D), as this: Server (A) is always online, and serves as the main website. Servers (B,C and D) are online on random periods of the day, and not...
View ArticleMongoDB to MySQL Replication Automatically
i have Mongodb server and mysql server. i want to use mongodb for "write" and mysql for "read". so i am looking for some tool or some process by which we can tranfer mongodb to mysql server on regular...
View ArticleI need to connect IBM dashDB on Bluemix with another DB2 database in...
I have created tables in dashDB on IBM Bluemix and populated those tables with data. Now I need to connect my cloud-based dashDB with the respective feeding DB2 system (V9.7) which sits behind a...
View ArticleDoes master-slave replication ensure that writes show up in later reads?
Here's a very basic question about replication. If you set up your database with master-slave replication where writes go to the master and reads go to the slaves, doesn't that mean that newly-written...
View ArticleHow to fix a messed up replication on MS SQL Server
I restored a database from a backup. The database uses replication to publish to a different server. Assuming the database restore would break the replication, I tried to delete the replication and...
View ArticleAnonymous transactions get made even with GTID_MODE=ON
I'm using MySQL 5.7 with GTID master-master replication and I'm experiencing a strange error. Randomly one of my masters will stop replicating with: "Cannot replicate anonymous transaction when...
View Articleload balancer in mysql cluster
Do MySQL cluster has its own inbuilt load balancer ? If yes then how can we use it ? I don't want to use third party tool like HA PROXY to set up LB because of financial constraint. As per MySQL DOC ,...
View ArticleHow to create a gtid slave for an existing database?
There seem to be very few guides on setting up mysql replication for failover (and failback) for 5.6 using gtid. The official manual shows how to do it for an existing replicated setup, but not for a...
View ArticleMariaDB Cluster to Cluster Replication Not Working when Non-Master Node Updated
I have two MariaDB Galera clusters (PROD (servers A, B, and C) and DR (servers 1, 2, and 3). I have standard replication (Master-Slave) configured from the primary component node (server A) of the PROD...
View ArticleMongo replicated shard member not able to recover, stuck in STARTUP2 mode
I have following setup for a sharded replica set in Amazon VPC: mongo1: 8G RAM Duo core (Primary) mongo2: 8G RAM Duo core (Secondary) mongo3: 4G RAM (Arbiter) Mongo1 is the primary member in the...
View Article