Debian Codegraph @

mysql-test/suite/galera/t/galera_sst_mysqldump_with_key.test

raw
1 #
2 # Test mysqldump SST with client SSL key. See galera_sst_mysqldump_with_key.cnf for the configuration on the client side.
3 #
4
5 --source include/big_test.inc
6 --source include/galera_cluster.inc
7 --source include/have_innodb.inc
8 --source include/have_ssl_communication.inc
9 --source include/force_restart.inc
10
11 --source suite/galera/include/galera_sst_set_mysqldump.inc
12 --let $node_1=node_1
13 --let $node_2=node_2
14 --source include/auto_increment_offset_save.inc
15
16 --connection node_1
17 CREATE USER sslsst;
18 GRANT ALL PRIVILEGES ON *.* TO sslsst;
19 GRANT USAGE ON *.* TO sslsst REQUIRE SSL;
20
21 SET GLOBAL wsrep_sst_auth = 'sslsst:';
22
23 # We set the required mysqldump SST options here so that they are used every time the server is restarted during the test
24 --let $start_mysqld_params = --wsrep_sst_auth=sst:'sslsst:' --wsrep_sst_method=mysqldump --wsrep-sst-receive-address=127.0.0.1:$NODE_MYPORT_2
25
26 --source suite/galera/include/galera_st_shutdown_slave.inc
27 --source suite/galera/include/galera_st_kill_slave.inc
28
29 --source include/auto_increment_offset_restore.inc
30 --source suite/galera/include/galera_sst_restore.inc
31
32 DROP USER sslsst;