config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/t/rpl_group_replication_commands.test

# This test checks the basic functionality of the Group Replication
# commands introduced to control the plugin

--source include/have_log_bin.inc
--source include/not_group_replication_plugin.inc

call mtr.add_suppression("Group Replication plugin is not installed.");
# Start Group Replication without the plugin loaded
# It shall give a configuration error.
--error ER_GROUP_REPLICATION_CONFIGURATION
START GROUP_REPLICATION;

# Stop Group Replication without the plugin loaded
# It shall give a configuration error.
--error ER_GROUP_REPLICATION_CONFIGURATION
STOP GROUP_REPLICATION;


#########################################################################################
# This test verify that only user with super privileges can execute following
# commands"
# - START GROUP_REPLICATION
# - STOP GROUP_REPLICATION
#
#########################################################################################

CREATE USER 'group_rpl_user' IDENTIFIED BY '';
--connect (con_group_rpl_user,127.0.0.1,group_rpl_user,,test,$MASTER_MYPORT,,)
--connection con_group_rpl_user

# Start Group Replication with non-super privilege user
# It shall give a acess denied error.
--error ER_SPECIFIC_ACCESS_DENIED_ERROR
START GROUP_REPLICATION;

# Stop Group Replication with non-super privilege user
# It shall give a acess denied error.
--error ER_SPECIFIC_ACCESS_DENIED_ERROR
STOP GROUP_REPLICATION;

--connection default
--disconnect con_group_rpl_user
DROP USER group_rpl_user;

Man Man