From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/auth_rpl.result | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mysql-test/main/auth_rpl.result (limited to 'mysql-test/main/auth_rpl.result') diff --git a/mysql-test/main/auth_rpl.result b/mysql-test/main/auth_rpl.result new file mode 100644 index 00000000..56f5f5e8 --- /dev/null +++ b/mysql-test/main/auth_rpl.result @@ -0,0 +1,27 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +connection master; +CREATE USER 'plug_user' IDENTIFIED WITH 'test_plugin_server' AS 'plug_user'; +GRANT REPLICATION SLAVE ON *.* TO plug_user; +FLUSH PRIVILEGES; +connection slave; +CHANGE MASTER TO +MASTER_USER= 'plug_user', +MASTER_PASSWORD= 'plug_user'; +include/start_slave.inc +connection master; +connection slave; +# Slave in-sync with master now. +SELECT user, plugin, authentication_string FROM mysql.user WHERE user LIKE 'plug_user'; +User plugin authentication_string +plug_user test_plugin_server plug_user +# Cleanup (on slave). +include/stop_slave.inc +CHANGE MASTER TO MASTER_USER='root'; +DROP USER 'plug_user'; +# Cleanup (on master). +connection master; +DROP USER 'plug_user'; +include/rpl_end.inc -- cgit v1.2.3