免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7758 | 回复: 1
打印 上一主题 下一主题

mysql的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-08-12 14:14 |只看该作者 |倒序浏览
本帖最后由 ssshenan2008 于 2013-08-12 14:19 编辑

之前做主从
我是直接把主数据库的MySQLData和MySqlBinlog 这两个目录 复制到从数据库
两台机子的mysql版本都是mysql-essential-5.1.57-winx64
现在备机的mysql服务,经常崩溃掉。
我开启错误日志,发现出来下面的错误,请问一下要怎么解决呢?
  1. 130812 13:58:25 [Note] Slave SQL thread initialized, starting replication in log 'binlog.000038' at position 657029285, relay log '.\mysql-relay-bin.000086' position: 177887824
  2. 130812 13:58:25 [Note] Slave I/O thread: connected to master 'username@ip:port',replication started in log 'binlog.000039' at position 1051225285
  3. 130812 13:58:26 [ERROR] Index Idx_MoneyExLog_User of userserver/moneyexlog has 2 columns unique inside InnoDB, but MySQL is asking statistics for 3 columns. Have you mixed up .frm files from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html

  4. 130812 13:58:28 [ERROR] Table userserver/loginlog contains fewer indexes inside InnoDB than are defined in the MySQL .frm file. Have you mixed up .frm files from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
复制代码

论坛徽章:
8
CU大牛徽章
日期:2013-09-18 15:20:48CU大牛徽章
日期:2013-09-18 15:20:58CU大牛徽章
日期:2013-09-18 15:21:06CU大牛徽章
日期:2013-09-18 15:21:12CU大牛徽章
日期:2013-09-18 15:21:17天秤座
日期:2013-10-30 14:01:03摩羯座
日期:2013-11-29 18:02:31luobin
日期:2016-06-17 17:46:36
2 [报告]
发表于 2013-08-13 11:06 |只看该作者
你拷贝数据是否停机拷贝?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP