MySQL Forums
Forum List  »  InnoDB clusters

Re: clone results original .ibd file disappeared
Posted by: MIN SOO CHO
Date: August 29, 2019 06:25PM

I'm very sorry, It was my mistake.
I tested InnoDB Cluster using local docker environment using the image from https://hub.docker.com/_/mysql
I started docker container as following:

docker volume create backup-vol
docker container run -d --network=mybridge --name mysqlgr1 --hostname mysqlgr1 --mount source=backup-vol,destination=/backup mysql:icStudy
docker container run -d --network=mybridge --name mysqlgr2 --hostname mysqlgr2 -- volumes-from mysqlgr1 mysql:icStudy

the root cause of the problem is "-- volumes-from mysqlgr1".
This make /var/lib/mysql directory is shared between mysqlgr1 and mysqlgr2

Innodb cluster provisining worked well!!
Thank you.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: clone results original .ibd file disappeared
411
August 29, 2019 06:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.