《天马》

 找回密码
 注册

强烈推荐:微信免注册登录

搜索
热搜: 投稿 公告 密码
文化破圈 短视频推广免费录制音频,入驻喜马拉雅作家档案(欢迎加入)
查看: 1739|回复: 0
收起左侧

[网站历史] 数据库被终止造成宕机修复。

[复制链接]

1873

作品

2186

互动

2万

积分

创始人

成绩
16486
威望
11354
精华
3
粉丝
109
好友
155
注册时间
2018-1-30
最后登录
2024-6-25
在线时间
9058 小时
性别
发表于 2019-12-6 17:15:25 | 显示全部楼层 |阅读模式
数据库被终止造成宕机修复。

Version: '10.1.21-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2019-12-06 16:35:55 2584 [Note] E:\xampp\mysql\bin\mysqld.exe: Normal shutdown

2019-12-06 16:35:55 2584 [Note] Event Scheduler: Purging the queue. 0 events
2019-12-06 16:35:55 4064 [Note] InnoDB: FTS optimize thread exiting.
2019-12-06 16:35:55 2584 [Note] InnoDB: Starting shutdown...
2019-12-06 16:35:55 2584 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2019-12-06 16:35:57 2584 [Note] InnoDB: Shutdown completed; log sequence number 1878849
2019-12-06 16:35:57 2584 [Note] E:\xampp\mysql\bin\mysqld.exe: Shutdown complete

2019-12-06 16:36:00 1374 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2019-12-06 16:36:00 4980 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2019-12-06 16:36:00 4980 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-12-06 16:36:00 4980 [Note] InnoDB: The InnoDB memory heap is disabled
2019-12-06 16:36:00 4980 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-12-06 16:36:00 4980 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-12-06 16:36:00 4980 [Note] InnoDB: Compressed tables use zlib 1.2.3
2019-12-06 16:36:00 4980 [Note] InnoDB: Using generic crc32 instructions
2019-12-06 16:36:00 4980 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2019-12-06 16:36:00 4980 [Note] InnoDB: Completed initialization of buffer pool
2019-12-06 16:36:00 4980 [Note] InnoDB: Highest supported file format is Barracuda.
2019-12-06 16:36:00 4980 [Note] InnoDB: 128 rollback segment(s) are active.
2019-12-06 16:36:00 4980 [Note] InnoDB: Waiting for purge to start
2019-12-06 16:36:00 4980 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1878849
2019-12-06 16:36:01 4980 [Note] Plugin 'FEEDBACK' is disabled.
2019-12-06 16:36:01 4980 [Note] Server socket created on IP: '::'.
2019-12-06 16:36:01 5064 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-12-06 16:36:01 4980 [Note] E:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.21-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2019-12-06 16:43:00 6116 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_xigua_x_fans' is marked as crashed and should be repaired
2019-12-06 16:43:00 6116 [Warning] Checking table:   '.\long5@002ecom\pre_xigua_x_fans'
2019-12-06 16:43:01 6116 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_xigua_x_log' is marked as crashed and should be repaired
2019-12-06 16:43:01 6116 [Warning] Checking table:   '.\long5@002ecom\pre_xigua_x_log'
2019-12-06 16:50:34 4336 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_common_admincp_session' is marked as crashed and should be repaired
2019-12-06 16:50:34 4336 [Warning] Checking table:   '.\long5@002ecom\pre_common_admincp_session'
2019-12-06 16:50:35 4336 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_common_searchindex' is marked as crashed and should be repaired
2019-12-06 16:50:35 4336 [Warning] Checking table:   '.\long5@002ecom\pre_common_searchindex'
2019-12-06 16:50:36 4336 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_forum_modwork' is marked as crashed and should be repaired
2019-12-06 16:50:36 4336 [Warning] Checking table:   '.\long5@002ecom\pre_forum_modwork'
2019-12-06 16:50:36 4336 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_home_friend_request' is marked as crashed and should be repaired
2019-12-06 16:50:36 4336 [Warning] Checking table:   '.\long5@002ecom\pre_home_friend_request'
2019-12-06 16:50:36 4336 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_home_poke' is marked as crashed and should be repaired
2019-12-06 16:50:36 4336 [Warning] Checking table:   '.\long5@002ecom\pre_home_poke'
2019-12-06 16:50:36 4336 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_home_pokearchive' is marked as crashed and should be repaired
2019-12-06 16:50:36 4336 [Warning] Checking table:   '.\long5@002ecom\pre_home_pokearchive'
2019-12-06 16:50:39 4336 [ERROR] mysqld.exe: Table '.\long5@002ecom\pre_plugin_daka_user' is marked as crashed and should be repaired
2019-12-06 16:50:39 4336 [Warning] Checking table:   '.\long5@002ecom\pre_plugin_daka_user'

从而造成崩溃


解决方案:

(1)打开任务管理器终止mysqld进程;

(2)打开mysql安装目录的data文件夹,删除以下2个文件:
ib_logfile0和ib_logfile1

(3)重新启动mysql

参考解决办法:
XAMPP启动mysql遇到的问题
作者其它文章




上一篇:通知:本周日1:00-9:00将重新安装服务器环境。
下一篇:总结:内存占用太多有可能是软件冲突或 数据库错误。

站长微信
扫一扫即可获得帮助
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|域名服务|西方经典阅读|古代经典|近代经典诗歌|近代经典散文|近代经典小说|作家档案|Archiver|手机客户端|小黑屋|域名申诉|域名仲裁|企业建站|联系我们|域名申诉仲裁|杂文评论|龙舞网络|天马原创文学网 ( 冀ICP备11025393号-6 冀ICP备2021004524号 )|网站地图

GMT+8, 2024-6-26 06:34 , Processed in 0.500000 second(s), 28 queries , File On.

冀公网安备:13032302000108 冀ICP备11025393号-6 

文章版权归天马原创文学网和作者所有,未经许可,不得转载。 

天马原创文学网是秦皇岛市抚宁区作家协会主办的文学交流平台。 

本站内容仅供抚宁区及部分域外作家学习交流,不涉及印刷和文化产品,是免费的非经营性网站。 

名誉站长:孙书柱、桑恒昌

By Dz! X3.4

快速回复 返回顶部 返回列表