InnoDB: Progress in percents: 1120731 9:56:59 InnoDB: Error: page 9 log sequence number 5746244819174
InnoDB: is in the future! Current system log sequence number 5706919300319.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files.
===================================
innodb redo log 出错
原因:不详
解决方法:MHA切换到备机上去,主机重新恢复,在用备机上的binlog对齐数据后,加入为备机.
求其他DBA,或者SA、R&D大侠给个补充
tudou@b2c.xiaomi.com
主从同步的情况下创建存储过程会报错:
ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
原因是:
This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create
stored functions that will cause unsafe events to be written to the binary log. If set to 0 (the default), users are not permitted to create or alter stored functions unless they have theSUPER
privilege
in addition to theCREATE
ROUTINE
orALTER
ROUTINE
privilege. A setting of 0 also enforces the restriction that a function must be declared with theDETERMINISTIC
characteristic,
or with theREADS
SQL DATA
orNO
SQL
characteristic. If the variable is set to 1, MySQL does not enforce these restrictions on stored function creation. This variable also applies to trigger creation.
=================================
通过设置set global log_bin_trust_function_creators = 1;不再限制存储过程创建。
也可以在my.cnf中直接限制。
Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and
try again
dump后在其他实例上做恢复报错,目前做法:set globalmax_binlog_cache_size=dumpserversize;
不知道其他DBA 有神马好方法
分享到:
相关推荐
MySQL内核 InnoDB存储引擎 卷1 超高清 带书签 pdf文档
《MySQL内核:InnoDB存储引擎 卷1》由资深MySQL专家,机工畅销图书作者亲自执笔,在以往出版的两本InnoDB介绍性图书的基础之上,更深入地介绍InnoDB存储引擎的内核,例如latch、B+树索引、事务、锁等,从源代码的...
MYSQL内核:INNODB存储引擎 卷1.part2.rar
可作为深入理解MySQL InnoDB存储引擎实现细节的研究学习。
MYSQL内核:INNODB存储引擎 卷1.part3.rar
最近在学习MySQL技术内幕 InnoDB存储引擎 第2版,整理了一些文档分享出来,同时也方便以后查看。若有不当之处,烦请批评指正。 1. MySQL体系结构和存储引擎 2. InnoDB存储引擎 2.1 InnoDB体系结构 2.2 ...
MYSQL内核:INNODB存储引擎 卷1.part1.rar
MySQL技术内幕InnoDB存储引擎-读书笔记.pdf
Mysql可以正常启动,但innodb的表无法使用 在错误日志里你会看到如下输出: InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 现在需要做的事情就是把原来的 innodb 的ib_logfile×...
MySQL 技术内幕:InnoDB存储引擎
《MySQL技术内幕:InnoDB存储引擎》是国内目前唯一的一本关于InnoDB的著作,由资深MySQL专家亲自执笔,中外数据库专家联袂推荐,权威性毋庸置疑。内容深入,从源代码的角度深度解析了InnoDB的体系结构、实现原理、...
MySQL内核_InnoDB存储引擎(卷1)_753281.pdf
MySQL技术内幕:InnoDB存储引擎.docx
MySQL Innodb 索引原理详解
主要介绍了MySQL启动报错问题InnoDB:Unable to lock/ibdata1 error,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
InnoDB Operating system error number 9. [MDEV-9749] InnoDB receives 'Bad file descriptor' error, possibly related to feedback plugin Lost connection to MySQL server at 'handshake- reading initial ...
mysql 有关“InnoDB Error ib_logfile0 of different size”错误的解决方法,需要的朋友可以参考下。
MySQL内核 INNODB存储引擎-卷1-高清-完整目录-2014年5月
第一章:mysql存储引擎1.innodb存储引擎支持事务;行锁设计;支持外键;支持非锁定读。4种事务隔离级别,默认为repeatable,同时使用next-k