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

Change MariaDB 10.0.17 (MySQL) master to a slave

$
0
0

I have a MySQL master/slave configuration

 --------        --------  
| master |  ->  | slave1 |
 --------        --------  

I want to kill my current master, transform slave1 to be the new master and have another slave pointing to slave1

 --------          ------------        --------
| master |        | new master |  ->  | slave2 |
 --------          ------------        --------
  KILLED

What is the best way to do this without database downtime? I am using MariaDB 10.0.17


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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