Skip to content

nhuanluong/k8s-mysql-replication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

k8s-mysql-8-replication

Minikube can be help you try it.

At master node

show master status;

example result: mysql-bin.000003 156

At slave node

CHANGE MASTER TO MASTER_HOST='192.168.x.x',
MASTER_PORT=30100,
MASTER_USER='root',
MASTER_PASSWORD='changeme',
MASTER_LOG_FILE='mysql-bin.000003',
MASTER_LOG_POS=156;

with '192.168.x.x': ip or domain of master node

start slave;
show slave status;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published