Changes between Version 7 and Version 8 of GROUPReplicate2


Ignore:
Timestamp:
06/14/22 21:30:23 (3 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUPReplicate2

    v7 v8  
    9696mysql> INSERT INTO products(product_name) VALUES("Shoes"),("Shirt"),("Trouser");
    9797}}}
     98
     9911. mysqldump and restore, pls login to '''docker exec -it node1 bash''' to get in a bash shell, then mysqldump a database '''testdb''' to a file on upper directory that we mount.
     100{{{
     101rpl_user@node1:/mysql/bin$ ./mysqldump -uroot --protocol=socket  --set-gtid-purged=OFF --socket=/tmp/mysql.0.sock testdb > ../testdb.sql
     102}}}
     103
     10412 restore with
     105{{{
     106rpl_user@node1:/mysql/bin$ ./mysql -uroot --protocol=socket --socket=/tmp/mysql.0.sock testdb < ../testdb.sql
     107}}}