错误:MySQL 意外关闭。尝试在 Xampp 上启动 Mysql
Posted
技术标签:
【中文标题】错误:MySQL 意外关闭。尝试在 Xampp 上启动 Mysql【英文标题】:Error: MySQL shutdown unexpectedly. While Trying to start Mysql on Xampp 【发布时间】:2018-11-08 12:44:38 【问题描述】:我的 xampp 无法运行 mysql。我已经在互联网上做了一千个解决方案,但仍然没有给我解决方案。这是错误日志:
2018-05-30 02:14:31 1408 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.
2018-05-30 2:14:31 5128 [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.
****************************
2018-05-30 2:14:31 5128 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-05-30 2:14:31 5128 [Note] InnoDB: The InnoDB memory heap is disabled
2018-05-30 2:14:31 5128 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-05-30 2:14:31 5128 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-05-30 2:14:31 5128 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-05-30 2:14:31 5128 [Note] InnoDB: Using generic crc32 instructions
2018-05-30 2:14:31 5128 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-05-30 2:14:31 5128 [Note] InnoDB: Completed initialization of buffer pool
2018-05-30 2:14:31 5128 [Note] InnoDB: Highest supported file format is Barracuda.
2018-05-30 2:14:33 5128 [Note] InnoDB: 128 rollback segment(s) are active.
2018-05-30 2:14:33 5128 [Note] InnoDB: Waiting for purge to start
2018-05-30 2:14:33 5128 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-83.0 started; log sequence number 546092343
2018-05-30 2:14:33 6096 [Note] InnoDB: Dumping buffer pool(s) not yet started
Cannot find checkpoint record at LSN (1,0x208b)
2018-05-30 2:14:33 5128 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2018-05-30 2:14:33 5128 [ERROR] Plugin 'Aria' init function returned error.
2018-05-30 2:14:33 5128 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2018-05-30 2:14:33 5128 [Note] Plugin 'FEEDBACK' is disabled.
2018-05-30 2:14:33 5128 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
2018-05-30 2:14:33 5128 [ERROR] Aborting
*******************************
谁能帮帮我..
【问题讨论】:
你试过Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
吗?
hi Sticky bit...我也阅读了此消息,但我不知道如何运行 aria_chk -r 意思是...你能解释一下我该怎么做...谢谢你之前...
有人知道你能帮我吗...我唯一拥有的是文件夹 xampp\mysql\data 上的数据...当我尝试将其复制到另一台计算机时,表格显示但不能打开:MySql 错误.. 表不存在
这个问题已经在这里回答了this will help you sure
【参考方案1】:
在您的错误日志中有一个日志指出:
2018-05-30 2:14:33 5128 [错误] mysqld.exe:Aria 恢复失败。请在所有 Aria 表上运行 aria_chk -r 并删除所有 aria_log.######## 文件
因此,根据您删除该文件的日志,您必须 转到 /xampp/mysql/data/
和删除名称以aria_log开头的文件。这意味着所有名称以aria_log.###
开头的文件#
表示任何字符串,如00001
或anyhting,所以在删除之后文件重新启动xammp,它大部分时间都可以工作。
【讨论】:
【参考方案2】:转到 xampp/mysql/data 并删除 aria_log.00001
【讨论】:
以上是关于错误:MySQL 意外关闭。尝试在 Xampp 上启动 Mysql的主要内容,如果未能解决你的问题,请参考以下文章