随笔分类 - MySQL遇到的问题
摘要:event_scheduler对主从的影响: 1 对于已经存在的主从, 新建立events没有影响。 2 对于新建立的主从,如果有events ,那么需要在从库上把event_scheduler设置为off. 从库提升为主库的时候需要考虑event 把event的状态改为 enable: alter
阅读全文
摘要:这个时候我们在sql的头部加上 DELIMITER $$ 尾部加上 $$DELIMITER;
阅读全文
摘要:http://www.tuicool.com/articles/ZVFVja 查看报错日志是这样的 Could not open or create the system tablespace 删除了如下三个文件: [root@tserver mysql]# rm ibdata1 ib_logfil
阅读全文
摘要:mysql> grant select on huamu_licai.* to 'read'@'%' identified by password 'Abcd1234';ERROR 1827 (HY000): The password hash doesn't have the expected f
阅读全文
摘要:这里我安装的是MySQL5.6 我遇到的错误有 (1)Warning: Bison executable not found in PATH 解决办法: yum install bison 原文摘自:http://www.tuicool.com/articles/a2y2If (2)报错信息: --
阅读全文
摘要:mysql> show slave status\G;*************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host
阅读全文