MGR_ERROR 3092 (HY000): DROP DATABASE failed;
- start group_replication;时报以下错:
ERROR 3092 (HY000): DROP DATABASE failed; some tables may have been dropped but the database directory remains. The GTID has not been added to GTID_EXECUTED and the statement was not written to the binary log. Fix this as follows: (1) remove all files from the database directory %-.192s; (2) SET GTID_NEXT='%-.192s'; (3) DROP DATABASE `%-.192s`.
- error.log报错提示:
2018-08-23T11:46:54.344944+08:00 5 [Note] 'CHANGE MASTER TO FOR CHANNEL 'group_replication_applier' executed'. Previous state master_host='<NULL>', master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''. New state master_host='<NULL>', master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''.
2018-08-23T11:46:54.350004+08:00 3 [Note] Plugin group_replication reported: 'Group Replication applier module successfully initialized!'
2018-08-23T11:46:54.350028+08:00 8 [Note] Slave SQL thread for channel 'group_replication_applier' initialized, starting replication in log 'FIRST' at position 0, relay log './relay-bin-group_replication_applier.000006' position: 4
2018-08-23T11:46:54.350033+08:00 3 [Note] Plugin group_replication reported: 'auto_increment_increment is set to 7'
2018-08-23T11:46:54.350065+08:00 3 [Note] Plugin group_replication reported: 'auto_increment_offset is set to 1'
2018-08-23T11:46:54.370338+08:00 0 [Note] Plugin group_replication reported: 'XCom protocol version: 3'
2018-08-23T11:46:54.370366+08:00 0 [Note] Plugin group_replication reported: 'XCom initialized and ready to accept incoming connections on port 23507'
2018-08-23T11:46:56.444399+08:00 0 [ERROR] Plugin group_replication reported: 'The member is configured with a lower_case_table_names option value '4227861216' different from the group '1'. The member will now exit the group. If there is existing data on member, it may be incompatible with group if created with a lower_case_table_names value different from the group.'
2018-08-23T11:46:56.444466+08:00 0 [Note] Plugin group_replication reported: 'Group membership changed to db211:3507, db210:3507, on view 15349902199191235:13.'
2018-08-23T11:46:56.444474+08:00 3 [Note] Plugin group_replication reported: 'Going to wait for view modification'
2018-08-23T11:46:59.799625+08:00 0 [Note] Plugin group_replication reported: 'Group membership changed: This member has left the group.'
2018-08-23T11:47:04.799833+08:00 3 [Note] Plugin group_replication reported: 'auto_increment_increment is reset to 1'
2018-08-23T11:47:04.799870+08:00 3 [Note] Plugin group_replication reported: 'auto_increment_offset is reset to 1'
2018-08-23T11:47:04.800069+08:00 8 [Note] Error reading relay log event for channel 'group_replication_applier': slave SQL thread was killed
2018-08-23T11:47:04.800339+08:00 5 [Note] Plugin group_replication reported: 'The group replication applier thread was killed'
- 原因分析:
***1.查看节点间:lower_case_table_names 参数值都为1 ***
2.查看节点间版本发现当前节点版本为5.7.20-log,而其他节点为5.7.23 - 解决办法将本节点版本升级为:5.7.23,问题解决;
MGR_ERROR 3092 (HY000): DROP DATABASE failed;的更多相关文章
- Mysql命令drop database:删除数据库
drop命令用于删除数据库. drop命令格式:drop database <数据库名>; 例如,删除名为 xhkdb的数据库:mysql> drop database xhkdb; ...
- (笔记)Mysql命令drop database:删除数据库
drop命令用于删除数据库. drop命令格式:drop database <数据库名>; 例如,删除名为 xhkdb的数据库:mysql> drop database xhkdb; ...
- drop database出现1010
> drop database glc; ERROR (HY000): Error dropping database (can't rmdir './glc/', errno: 17) Fri ...
- ORA-01501: CREATE DATABASE failed
使用dbca建库时遇到ORA-01501: CREATE DATABASE failed这个错误,检查告警日志,发现有下面错误信息: SMON: enabling tx recovery Fri Ap ...
- GTID复制报错处理:Last_Error: Error 'Can't drop database 'test'; database doesn't exist' on query
创建GTID主从连接: mysql, master_user; 报错显示: Slave_IO_Running: Yes Slave_SQL_Running: No Last_Error: Error ...
- Teradata Delete Database and Drop Database
DELETE DATABASE and DELETE USER statements delete all data tables, views, and macros from a database ...
- Sql server 使用drop database 语句,无法删除正在使用的数据库的解决办法
使用DROP DATABASE 删除数据库 显示“无法删除数据库 ,因为该数据库当前正在使用. 解决办法:在删除某一个数据库(下例中的“DB1”数据库)前,强制kill掉该数据库上的所有数据库连接. ...
- CREATE DATABASE failed
由于环境需要, 故修改SQL Server 2012的默认的数据库的数据文件和日志文件的位置. 如下: 创建数据库, 遭遇报错. 错误信息: A file activation error occur ...
- mysql中/*!40000 DROP DATABASE IF EXISTS `top_server`*/;这中注释有什么作用?
需求描述: 今天在进行mysqldump实验,使用--add-drop-databases参数,于是在生成的SQL文件中,就出现了. /*!40000 DROP DATABASE IF EXISTS ...
随机推荐
- ubuntu成功安装搜狗输入法
在安装之前,我们要先了解一个事实,那就是linux下安装软件和Windows是非常不同的,并不是简单地双击安装包就可以安装了.linux很多软件都有自己的一个依赖源,如果不先安装好这些依赖源,你是无法 ...
- Zebras CodeForces - 950C(思维)
借鉴自: https://www.cnblogs.com/SuuT/p/8619227.html https://blog.csdn.net/my_sunshine26/article/details ...
- ACID和CAP, BASE
ACID:关系型数据库中事务的4个属性: Atomicity,原子性,整个事务的所有操作,要么全部完成,要么全部不完成,不可能停滞在中间的某个环节.事务在执行过程中出错,会回滚到事务开始前的状 ...
- 【刷题】BZOJ 4650 [Noi2016]优秀的拆分
Description 如果一个字符串可以被拆分为 AABBAABB 的形式,其中 AA 和 BB 是任意非空字符串,则我们称该字符串的这种拆分是优秀的.例如,对于字符串 aabaabaa,如果令 A ...
- DelayQueue实现Java延时任务
最近公司需要实现一个订单超时自动关闭的功能,由Java这块来实现 一开始我以为就是定时任务,深入了解了之后发现并不是,官方名称应该叫延时任务,到时间之后 执行传过来的回调函数 这个功能我一共前前后后写 ...
- 洛谷 P3539 [POI2012]ROZ-Fibonacci Representation 解题报告
P3539 [POI2012]ROZ-Fibonacci Representation 题意:给一个数,问最少可以用几个斐波那契数加加减减凑出来 多组数据10 数据范围1e17 第一次瞬间yy出做法, ...
- POJ.3087 Shuffle'm Up (模拟)
POJ.3087 Shuffle'm Up (模拟) 题意分析 给定两个长度为len的字符串s1和s2, 接着给出一个长度为len*2的字符串s12. 将字符串s1和s2通过一定的变换变成s12,找到 ...
- Codeforces 19.E Fairy
E. Fairy time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input ou ...
- 「Django」rest_framework学习系列-版本认证
1.自己写: class UserView(APIView): versioning_class = ParamVersion def get(self,request,*args,**kwargs) ...
- horizon源码分析(二)
源码版本:H版 一.简要回顾 对于请求: 地址:/dashboard/admin/instances/ 方式:POST 参数: instances_filter_q: action:instances ...