~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/include/rpl_mixed_check_user.inc

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#########################################
 
2
# Author: Serge Kozlov skozlov@mysql.com
 
3
# Date: 07/10/2006
 
4
# Purpose: Showing user info on master and on slave
 
5
# Requirements: 
 
6
#########################################
 
7
 
 
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===========
 
12
USE test_rpl;
 
13
SELECT host, user, password, select_priv FROM mysql.user WHERE user LIKE 'user_test_rpl%';
 
14
connection master;
 
15