summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/t/galera_sst_mysqldump_with_key.test
blob: 0dbc63b531c44ff3ebb7b854a0a2b7e1b3952544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Test mysqldump SST with client SSL key. See galera_sst_mysqldump_with_key.cnf for the configuration on the client side.
#

--source include/big_test.inc
--source include/galera_cluster.inc
--source include/have_innodb.inc
--source include/have_ssl_communication.inc

--source suite/galera/include/galera_sst_set_mysqldump.inc
--let $node_1=node_1
--let $node_2=node_2
--source include/auto_increment_offset_save.inc

--connection node_1
CREATE USER sslsst;
GRANT ALL PRIVILEGES ON *.* TO sslsst;
GRANT USAGE ON *.* TO sslsst REQUIRE SSL;

SET GLOBAL wsrep_sst_auth = 'sslsst:';

--source suite/galera/include/galera_st_disconnect_slave.inc

--source include/auto_increment_offset_restore.inc
--source suite/galera/include/galera_sst_restore.inc

DROP USER sslsst;