1 #########################################
2 # Author: Serge Kozlov skozlov@mysql.com
4 # Purpose: Showing user info on master and on slave
6 #########################################
8 --echo ==========MASTER==========
9 SELECT host, user, password, select_priv FROM mysql.user WHERE user LIKE
'user_test_rpl%';
10 sync_slave_with_master;
11 --echo ==========SLAVE===========
13 SELECT host, user, password, select_priv FROM mysql.user WHERE user LIKE
'user_test_rpl%';