mirror of
https://github.com/MariaDB/server.git
synced 2025-11-18 07:48:43 +03:00
copy from test-extra-5.1 to main tree
This commit is contained in:
15
mysql-test/suite/rpl/include/rpl_mixed_check_user.inc
Normal file
15
mysql-test/suite/rpl/include/rpl_mixed_check_user.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
#########################################
|
||||
# Author: Serge Kozlov skozlov@mysql.com
|
||||
# Date: 07/10/2006
|
||||
# Purpose: Showing user info on master and on slave
|
||||
# Requirements:
|
||||
#########################################
|
||||
|
||||
--echo ==========MASTER==========
|
||||
SELECT host, user, password, select_priv FROM mysql.user WHERE user LIKE 'user_test_rpl%';
|
||||
sync_slave_with_master;
|
||||
--echo ==========SLAVE===========
|
||||
USE test_rpl;
|
||||
SELECT host, user, password, select_priv FROM mysql.user WHERE user LIKE 'user_test_rpl%';
|
||||
connection master;
|
||||
|
||||
Reference in New Issue
Block a user