随笔分类 -  MySQL遇到的问题

摘要:event_scheduler对主从的影响: 1 对于已经存在的主从, 新建立events没有影响。 2 对于新建立的主从,如果有events ,那么需要在从库上把event_scheduler设置为off. 从库提升为主库的时候需要考虑event 把event的状态改为 enable: alter 阅读全文
posted @ 2017-04-14 15:33 BigBao的博客 阅读(3011) 评论(0) 推荐(1) 编辑
摘要:这个时候我们在sql的头部加上 DELIMITER $$ 尾部加上 $$DELIMITER; 阅读全文
posted @ 2017-03-28 00:11 BigBao的博客 阅读(1833) 评论(1) 推荐(0) 编辑
摘要:http://www.tuicool.com/articles/ZVFVja 查看报错日志是这样的 Could not open or create the system tablespace 删除了如下三个文件: [root@tserver mysql]# rm ibdata1 ib_logfil 阅读全文
posted @ 2017-03-21 17:11 BigBao的博客 阅读(175) 评论(0) 推荐(0) 编辑
摘要:mysql> grant select on huamu_licai.* to 'read'@'%' identified by password 'Abcd1234';ERROR 1827 (HY000): The password hash doesn't have the expected f 阅读全文
posted @ 2017-01-18 11:20 BigBao的博客 阅读(1358) 评论(0) 推荐(0) 编辑
摘要:这里我安装的是MySQL5.6 我遇到的错误有 (1)Warning: Bison executable not found in PATH 解决办法: yum install bison 原文摘自:http://www.tuicool.com/articles/a2y2If (2)报错信息: -- 阅读全文
posted @ 2016-12-06 18:19 BigBao的博客 阅读(337) 评论(0) 推荐(0) 编辑
摘要:mysql> show slave status\G;*************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host 阅读全文
posted @ 2016-11-01 15:45 BigBao的博客 阅读(1545) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示