mysqld.exe:Aria恢复失败。请在所有aria表上运行aria_chk-r并删除所有aria_log。########文件
我正在使用examplep,它运行得很好。今天,当我启动我的Windows计算机,并试图从xampp控制面板v3.3.0启动MariaDB服务器时,xampp显示了以下错误:
9:37:34 AM [mysql] Error: MySQL shutdown unexpectedly.
9:37:34 AM [mysql] This may be due to a blocked port, missing dependencies,
9:37:34 AM [mysql] improper privileges, a crash, or a shutdown by another method.
9:37:34 AM [mysql] Press the Logs button to view error logs and check
9:37:34 AM [mysql] the Windows Event Viewer for more clues
9:37:34 AM [mysql] If you need more help, copy and post this
9:37:34 AM [mysql] entire log window on the forums
当我检查日志文件mysql_error.log
时,显示了以下错误:
2022-09-09 9:37:32 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2022-09-09 9:37:32 0 [ERROR] Plugin 'Aria' init function returned error.
2022-09-09 9:37:32 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2022-09-09 9:37:32 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-09-09 9:37:32 0 [Note] InnoDB: Uses event mutexes
2022-09-09 9:37:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-09-09 9:37:32 0 [Note] InnoDB: Number of pools: 1
2022-09-09 9:37:32 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-09-09 9:37:32 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-09-09 9:37:32 0 [Note] InnoDB: Completed initialization of buffer pool
2022-09-09 9:37:33 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-09-09 9:37:33 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-09-09 9:37:33 0 [Note] InnoDB: Setting file 'D:xamppmysqldataibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-09-09 9:37:33 0 [Note] InnoDB: File 'D:xamppmysqldataibtmp1' size is now 12 MB.
2022-09-09 9:37:33 0 [Note] InnoDB: Waiting for purge to start
2022-09-09 9:37:33 0 [Note] InnoDB: 10.4.24 started; log sequence number 35377535; transaction id 5422
2022-09-09 9:37:33 0 [Note] InnoDB: Loading buffer pool(s) from D:xamppmysqldataib_buffer_pool
2022-09-09 9:37:33 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-09-09 9:37:33 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2022-09-09 9:37:33 0 [ERROR] Failed to initialize plugins.
2022-09-09 9:37:33 0 [ERROR] Aborting
主要问题是插件"Aria"没有启动,如上方日志的第一行所示
mysqld.exe:Aria恢复失败。请在所有aria表上运行aria_chk-r并删除所有aria_log。########文件
从xamppmysqldata
文件夹中删除所有名为aria_log.########
的文件,其中#######是任意数字。
我删除了以下文件
aria_log.00000001
从xamppmysqldata
和MySql服务器成功启动。
您是否按照错误日志中的描述运行了aria_chk -r
?
这是在mysql数据库中恢复表的示例:
C:xamppmysqlbin>aria_chk -r ..datamysql*.MAI