Current Path : /usr/opt/mysql57/mysql-test/suite/group_replication/r/ |
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 |
Current File : //usr/opt/mysql57/mysql-test/suite/group_replication/r/gr_user.result |
include/group_replication.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. 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. [connection server1] [connection server1] SET SESSION sql_log_bin= 0; call mtr.add_suppression(".*The group replication user is not present in the server *.*"); SET SESSION sql_log_bin= 1; # # Assert the user exist from the start # [connection server1] include/assert.inc [The group replication user should exist in this member] # # Start group replication and check all is OK # include/start_and_bootstrap_group_replication.inc include/assert.inc [The group replication user should exist in this member] # # Delete the user and watch GR fail at start # include/stop_group_replication.inc DROP USER "mysql.session"@"localhost"; START GROUP_REPLICATION; ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log. # # Recreate the user with an upgrade and see that GR works # Run mysql_upgrade mysql.columns_priv OK mysql.db OK mysql.engine_cost OK mysql.event OK mysql.func OK mysql.general_log OK mysql.gtid_executed OK mysql.help_category OK mysql.help_keyword OK mysql.help_relation OK mysql.help_topic OK mysql.innodb_index_stats OK mysql.innodb_table_stats OK mysql.ndb_binlog_index OK mysql.plugin OK mysql.proc OK mysql.procs_priv OK mysql.proxies_priv OK mysql.server_cost OK mysql.servers OK mysql.slave_master_info OK mysql.slave_relay_log_info OK mysql.slave_worker_info OK mysql.slow_log OK mysql.tables_priv OK mysql.time_zone OK mysql.time_zone_leap_second OK mysql.time_zone_name OK mysql.time_zone_transition OK mysql.time_zone_transition_type OK mysql.user OK mtr.global_suppressions OK mtr.test_suppressions OK sys.sys_config OK include/start_and_bootstrap_group_replication.inc # # Uninstall plugin and verify that user is still there # UNINSTALL PLUGIN group_replication; include/assert.inc [The group replication user should exist after install] # # Cleaning # INSTALL PLUGIN group_replication SONAME 'GROUP_REPLICATION'; SET SESSION sql_log_bin= 0; call mtr.add_suppression("There was an error when trying to access the server with user: mysql.session. Make*"); call mtr.add_suppression("Error calling group communication interfaces while trying to leave the group"); SET SESSION sql_log_bin= 1; include/group_replication_end.inc