mariadb/mysql-test/suite/plugins/r/rpl_auth.result
Sergei Golubchik 05fe3f1c18 Two problems with auth_parsec.so
1. it links with ${SSL_LIBRARIES}, in WolfSSL builds it's a static
   library, so when a plugin is loaded there will be two copies of
   wolfssl in the same address space. It breaks odr (at least).
2. Plugin can linked with OpenSSL and the server with WolfSSL or
   vice versa. It might load, but then we'll have both WolfSSL and
   OpenSSL at the same time. Kind of risky.

Fix: link the plugin statically into the server if it's a WolfSSL build

adjust tests to work with static and dynamic parsec
2024-08-12 10:32:03 +02:00

15 lines
507 B
Text

install soname 'CLIENT_PLUGIN';
Got one of the listed errors
create user rpluser@'%' identified via PLUGIN using PASSWORD('rpl_pass');
grant replication slave on *.* to rpluser@'%';
include/master-slave.inc
[connection master]
connection slave;
include/stop_slave.inc
change master to master_user='rpluser', master_password='rpl_pass';
include/start_slave.inc
include/stop_slave.inc
change master to master_user='root', master_password='';
include/start_slave.inc
include/rpl_end.inc
drop user rpluser@'%';