XAMPP MariaDB恢复启动后所有表提示‘don't exist in engine’求助
XAMPP环境下MariaDB修复启动后表提示"don't exist in engine"的恢复问题
今日遇到XAMPP环境下MariaDB无法启动的问题,修复前的日志如下:
2024-01-29 13:14:05 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 5912 2024-01-29 13:14:05 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 2024-01-29 13:14:05 0 [Note] InnoDB: Uses event mutexes 2024-01-29 13:14:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.12 2024-01-29 13:14:05 0 [Note] InnoDB: Number of pools: 1 2024-01-29 13:14:05 0 [Note] InnoDB: Using SSE2 crc32 instructions 2024-01-29 13:14:05 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M 2024-01-29 13:14:05 0 [Note] InnoDB: Completed initialization of buffer pool 2024-01-29 13:14:06 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2024-01-29 13:14:06 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2024-01-29 13:14:06 0 [Note] InnoDB: Setting file 'C:\\Xamp\\mysql\\data\\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2024-01-29 13:14:06 0 [Note] InnoDB: File 'C:\\Xamp\\mysql\\data\\ibtmp1' size is now 12 MB. 2024-01-29 13:14:06 0 [Note] InnoDB: Waiting for purge to start 2024-01-29 13:14:06 0 [Note] InnoDB: 10.4.28 started; log sequence number 2358558; transaction id 10636 2024-01-29 13:14:06 0 [Note] InnoDB: Loading buffer pool(s) from C:\\Xamp\\mysql\\data\\ib_buffer_pool 2024-01-29 13:14:06 0 [Note] Plugin 'FEEDBACK' is disabled. 2024-01-29 13:14:06 0 [Note] Server socket created on IP: '::'
尝试了某解决方案后,数据库可以启动,但所有表均提示"don't exist in engine"。该修复方案说明不会出现数据丢失情况,目前数据文件夹中的文件仍保留,怀疑问题与日志文件有关,但不清楚如何恢复这些表。
修复后的日志如下:
2024-01-29 13:23:27 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 6336 2024-01-29 13:23:27 0 [Note] InnoDB: The first innodb_system data file 'ibdata1' did not exist. A new tablespace will be created! 2024-01-29 13:23:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 2024-01-29 13:23:27 0 [Note] InnoDB: Uses event mutexes 2024-01-29 13:23:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.12 2024-01-29 13:23:27 0 [Note] InnoDB: Number of pools: 1 2024-01-29 13:23:27 0 [Note] InnoDB: Using SSE2 crc32 instructions 2024-01-29 13:23:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M 2024-01-29 13:23:27 0 [Note] InnoDB: Completed initialization of buffer pool 2024-01-29 13:23:27 0 [Note] InnoDB: Setting file 'C:\\Xamp\\mysql\\data\\ibdata1' size to 10 MB. Physically writing the file full; Please wait ... 2024-01-29 13:23:27 0 [Note] InnoDB: File 'C:\\Xamp\\mysql\\data\\ibdata1' size is now 10 MB. 2024-01-29 13:23:27 0 [Note] InnoDB: Setting log file C:\\Xamp\\mysql\\data\\ib_logfile101 size to 5242880 bytes 2024-01-29 13:23:27 0 [Note] InnoDB: Setting log file C:\\Xamp\\mysql\\data\\ib_logfile1 size to 5242880 bytes 2024-01-29 13:23:27 0 [Note] InnoDB: Renaming log file C:\\Xamp\\mysql\\data\\ib_logfile101 to C:\\Xamp\\mysql\\data\\ib_logfile0 2024-01-29 13:23:27 0 [Note] InnoDB: New log files created, LSN=11451 2024-01-29 13:23:27 0 [Note] InnoDB: Doublewrite buffer not found: creating new 2024-01-29 13:23:27 0 [Note] InnoDB: Doublewrite buffer created 2024-01-29 13:23:27 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2024-01-29 13:23:27 0 [Note] InnoDB: Creating foreign key constraint system tables. 2024-01-29 13:23:27 0 [Note] InnoDB: Creating tablespace and datafile system tables. 2024-01-29 13:23:27 0 [Note] InnoDB: Creating sys_virtual system tables. 2024-01-29 13:23:27 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2024-01-29 13:23:27 0 [Note] InnoDB: Setting file 'C:\\Xamp\\mysql\\data\\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2024-01-29 13:23:27 0 [Note] InnoDB: File 'C:\\Xamp\\mysql\\data\\ibtmp1' size is now 12 MB. 2024-01-29 13:23:27 0 [Note] InnoDB: Waiting for purge to start 2024-01-29 13:23:28 0 [Note] InnoDB: 10.4.28 started; log sequence number 0; transaction id 7 2024-01-29 13:23:28 0 [Note] Plugin 'FEEDBACK' is disabled. 2024-01-29 13:23:28 0 [Note] Zerofilling moved table: '.\\mysql\\plugin' 2024-01-29 13:23:28 0 [Note] Zerofilling moved table: '.\\mysql\\servers' 2024-01-29 13:23:28 0 [Note] Server socket created on IP: '::'.
恳请各位提供相关帮助。
内容的提问来源于stack exchange,提问作者VicTheWise
相关产品推荐
相关产品推荐

