mirror of
https://github.com/MariaDB/server.git
synced 2025-02-15 09:55:33 +01:00
![Sergei Golubchik](/assets/img/avatar_default.png)
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
20 lines
582 B
Text
20 lines
582 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
connect slave2,127.0.0.1,root,,test,$SLAVE_MYPORT2,;
|
|
connection slave2;
|
|
RESET SLAVE;
|
|
CHANGE MASTER TO master_host='127.0.0.1',master_port=MASTER_PORT,master_user='root', master_ssl_verify_server_cert=0;
|
|
START SLAVE IO_THREAD;
|
|
include/wait_for_slave_io_to_start.inc
|
|
connection master;
|
|
SHOW SLAVE HOSTS;
|
|
Server_id Host Port Master_id
|
|
3 slave2 SLAVE_PORT 1
|
|
2 localhost SLAVE_PORT 1
|
|
connection slave2;
|
|
include/stop_slave_io.inc
|
|
connection master;
|
|
SHOW SLAVE HOSTS;
|
|
Server_id Host Port Master_id
|
|
2 localhost SLAVE_PORT 1
|
|
include/rpl_end.inc
|