Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

INSERT INTO schema.table VS use schema (2 replies)

$
0
0
I have configured replication from one DB to another on different server. It works correctly except when:

mysql -hSRVCMYSQLD1 -utestUsr -Dmysql
-- Records is added to table but is not replicated!
INSERT INTO test.animals (name) VALUES ('Dog1'),('Cat1');

mysql -hSRVMYSQLD1 -utestUsr -Dmysql
-- Records is added to table and replicated correctly.
Use test;
INSERT INTO test.animals (name) VALUES ('Dog1'),('Cat1');

Is this an error or is it working as designed?

Viewing all articles
Browse latest Browse all 1562

Trending Articles



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