You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow this configuration to create a new Replication environment, then loads data from an existing MySQL Server. Since slave didn't create databases, sync db from master to slave will be failed, told db not exist when create tables;
The solution is set replicate_do_db = dbname in slave
I've been working on this tonight. It looks like an ordering problem between the config change in my.cnf, the restart of mysql to introduce the changes and the creation of the databases.
I've got a fix, but I have to test it before sending in a pull request.
MySQL Version: 5.5.38
I follow this configuration to create a new Replication environment, then loads data from an existing MySQL Server. Since slave didn't create databases, sync db from master to slave will be failed, told db not exist when create tables;
The solution is set replicate_do_db = dbname in slave
The text was updated successfully, but these errors were encountered: