mariadb/mysql-test/suite/plugins/r/rpl_auth.result
Sergei Golubchik 5ab81ffe00 fix plugins.rpl_auth failure in bintars
in bintars the server is linked with wolfssl, while the connector
is linked with gnutls. Thus client_ed25519.so gets gnutls
dependency, unresolved symbols and it cannot be loaded into the
server and gnutls symbols aren't present there.

linking the plugin statically with gnutls fixes that and the test passes.
but when such a plugin is loaded into the client, the client gets
two copies of gnutls - they conflict and ssl doesn't work at all.

let's detect this and disable the test for now.
2024-08-05 10:39:50 +02:00

25 lines
748 B
Text

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