~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_binlog_grant.result

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include/master-slave.inc
 
2
Warnings:
 
3
Note    ####    Sending passwords in plain text without SSL/TLS is extremely insecure.
 
4
Note    ####    Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
 
5
[connection master]
 
6
create database d1;
 
7
use d1;
 
8
create table t (s1 int) engine=innodb;
 
9
set @@autocommit=0;
 
10
start transaction;
 
11
insert into t values (1);
 
12
grant select on t to x@y;
 
13
rollback;
 
14
show grants for x@y;
 
15
Grants for x@y
 
16
GRANT USAGE ON *.* TO 'x'@'y'
 
17
GRANT SELECT ON `d1`.`t` TO 'x'@'y'
 
18
start transaction;
 
19
insert into t values (2);
 
20
revoke select on t from x@y;
 
21
commit;
 
22
select * from t;
 
23
s1
 
24
1
 
25
2
 
26
show grants for x@y;
 
27
Grants for x@y
 
28
GRANT USAGE ON *.* TO 'x'@'y'
 
29
drop user x@y;
 
30
drop database d1;
 
31
include/rpl_end.inc