MYSQL 服务自动停止

liveplus 2010-06-09 04:07:49
昨天mysql原来存放数据的磁盘没有空间了,就把数据文件全部copy到一个大容量的磁盘上面,
修改完配置;重启服务后,服务没过一段时间就被自动停掉,不知道什么原因,请高人指点,
下面是错误日志文件的一段信息。

InnoDB: log sequence number 412 456343084.
InnoDB: Doing recovery: scanned up to log sequence number 412 461585920
InnoDB: Doing recovery: scanned up to log sequence number 412 466828800
InnoDB: Doing recovery: scanned up to log sequence number 412 472071680
InnoDB: Doing recovery: scanned up to log sequence number 412 477314560
InnoDB: Doing recovery: scanned up to log sequence number 412 481998366
100609 15:33:23 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100609 15:33:25 InnoDB: Started; log sequence number 412 481998366
100609 15:33:25 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:35:20 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:35:20 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 482108120.
InnoDB: Doing recovery: scanned up to log sequence number 412 482108120
100609 15:35:20 InnoDB: Started; log sequence number 412 482108120
100609 15:35:20 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:38:20 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:38:20 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 482108130.
InnoDB: Doing recovery: scanned up to log sequence number 412 482108130
100609 15:38:20 InnoDB: Started; log sequence number 412 482108130
100609 15:38:20 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:41:27 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:41:28 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 482117079.
InnoDB: Doing recovery: scanned up to log sequence number 412 482117079
100609 15:41:28 InnoDB: Started; log sequence number 412 482117079
100609 15:41:28 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:44:20 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:44:20 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 547322718.
InnoDB: Doing recovery: scanned up to log sequence number 412 547322718
100609 15:44:20 InnoDB: Started; log sequence number 412 547322718
100609 15:44:20 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:47:31 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:47:32 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 547322728.
InnoDB: Doing recovery: scanned up to log sequence number 412 547322728
100609 15:47:32 InnoDB: Started; log sequence number 412 547322728
100609 15:47:32 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:50:52 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:50:52 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 547322738.
InnoDB: Doing recovery: scanned up to log sequence number 412 547322738
100609 15:50:53 InnoDB: Started; log sequence number 412 547322738
100609 15:50:53 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:53:20 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:53:20 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 554202186.
InnoDB: Doing recovery: scanned up to log sequence number 412 554202186
100609 15:53:20 InnoDB: Started; log sequence number 412 554202186
100609 15:53:20 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:56:20 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:56:20 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 554232119.
InnoDB: Doing recovery: scanned up to log sequence number 412 554232119
100609 15:56:20 InnoDB: Started; log sequence number 412 554232119
100609 15:56:20 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 15:59:20 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:59:20 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 624944384.
InnoDB: Doing recovery: scanned up to log sequence number 412 624944384
100609 15:59:20 InnoDB: Started; log sequence number 412 624944384
100609 15:59:20 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 16:02:36 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 16:02:36 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 624944394.
InnoDB: Doing recovery: scanned up to log sequence number 412 624944394
100609 16:02:37 InnoDB: Started; log sequence number 412 624944394
100609 16:02:37 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
100609 16:05:34 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 16:05:35 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 624944394.
InnoDB: Doing recovery: scanned up to log sequence number 412 624944404
100609 16:05:35 InnoDB: Started; log sequence number 412 624944404
100609 16:05:35 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
...全文
986 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
littleline 2010-06-10
  • 打赏
  • 举报
回复
换个干净的环境试试,一样一样慢慢排查!
jiahehao 2010-06-10
  • 打赏
  • 举报
回复
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100609 15:35:20 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 412 482108120.
****************************************************

数据有冲突,系统试图从上一个检查点恢复。。。。。
我估计楼主是真正的"copy",记得下回要用“mysqldump”。
ACMAIN_CHM 2010-06-09
  • 打赏
  • 举报
回复
100609 15:38:20 InnoDB: Database was not shut down normally!


检查一下你的文件是否损坏,另外检查一下你的杀毒软件。
iihero_ 2010-06-09
  • 打赏
  • 举报
回复
就不知道你当初执行“把数据文件全部copy到一个大容量的磁盘上面”是什么时机,不会是没有停止mysql服务的时候copy的吧?

56,679

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧