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

Mysql Replication : Deleting a table makes slave error

$
0
0

I need some help. In mysql replication, I created a table (tb1) in master and add/delete data on it, the slave has no error. But when I deleted the table (tb1). It gives me this error in slave

Last_Error: Error 'Table 'phpmyadmin_123.pma_table_info' doesn't exist' on query. Default database: ''. Query: 'DELETE FROM `phpmyadmin_123`.`pma_table_info` WHERE db_name  = 'test''

IN my master my.cnf i added this replicate-do-db=test

In my master I have a database phpmyadmin_123

In my slave I have a database phpmyadmin_456

Is this the one that made the problem? How can i fixed it without changing the dbname of that phpmyadmin_* since I already set that i only want to replicate database test ( replicate-do-db=test ).


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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