mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
enable ssl + ssl_verify_server_cert in the internal client too * fix replication tests to disable master_ssl_verify_server_cert because accounts are passwordless - except rpl.rpl_ssl1 * fix federated/federatedx/connect to disable SSL_VERIFY_SERVER_CERT because they cannot configure an ssl connection * fix spider to disable ssl_verify_server_cert, if configuration says so, as spider _can_ configure an ssl connection * memory leak in embedded test-connect
26 lines
781 B
Plaintext
26 lines
781 B
Plaintext
include/master-slave.inc
|
|
[connection master]
|
|
connection slave;
|
|
include/stop_slave.inc
|
|
RESET SLAVE ALL;
|
|
# Does not work for CHANGE MASTER:
|
|
SET STATEMENT default_master_connection = 'm1' FOR
|
|
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT, MASTER_USER='root';
|
|
#
|
|
# The first field, Connection_name, should say 'm1'...
|
|
#
|
|
Connection_name = 'm1'
|
|
RESET SLAVE ALL;
|
|
CHANGE MASTER 'm1' TO MASTER_HOST='127.0.0.1',
|
|
MASTER_PORT=MASTER_MYPORT, MASTER_USER='root',
|
|
MASTER_SSL_VERIFY_SERVER_CERT=0;
|
|
SET STATEMENT default_master_connection = 'm1' FOR START SLAVE;
|
|
set default_master_connection = 'm1';
|
|
include/wait_for_slave_to_start.inc
|
|
stop slave;
|
|
include/wait_for_slave_to_stop.inc
|
|
reset slave all;
|
|
set default_master_connection = '';
|
|
disconnect slave;
|
|
connection default;
|