English 中文(简体)
表2
原标题:Table not in engine - InnoDB/MySQL

Today I ran into an issue where the XAMPP MariaDB wouldn t start, no matter what. The logs looked like this:

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:Xampmysqldataibtmp1  size to 12 MB. Physically writing the file full; Please wait ...
2024-01-29 13:14:06 0 [Note] InnoDB: File  C:Xampmysqldataibtmp1  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:Xampmysqldataib_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:  :: 

因此,我尝试了以下解决办法:

现在,我的数据库再次开始,但我所有的表格“发动机中存在 t”。 根据对固定装置的一些答复,必然会出现任何数据损失。

I believe it has something to do with the logfiles, but I don t know and couldnt find much on how to "restore" them.

欢迎在这方面提供任何帮助。 我仍然有数据夹中的档案。

如今,这个记录对于任何有兴趣的人来说是怎样的:

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:Xampmysqldataibdata1  size to 10 MB. Physically writing the file full; Please wait ...
2024-01-29 13:23:27 0 [Note] InnoDB: File  C:Xampmysqldataibdata1  size is now 10 MB.
2024-01-29 13:23:27 0 [Note] InnoDB: Setting log file C:Xampmysqldataib_logfile101 size to 5242880 bytes
2024-01-29 13:23:27 0 [Note] InnoDB: Setting log file C:Xampmysqldataib_logfile1 size to 5242880 bytes
2024-01-29 13:23:27 0 [Note] InnoDB: Renaming log file C:Xampmysqldataib_logfile101 to C:Xampmysqldataib_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:Xampmysqldataibtmp1  size to 12 MB. Physically writing the file full; Please wait ...
2024-01-29 13:23:27 0 [Note] InnoDB: File  C:Xampmysqldataibtmp1  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:   .mysqlplugin 
2024-01-29 13:23:28 0 [Note] Zerofilling moved table:   .mysqlservers 
2024-01-29 13:23:28 0 [Note] Server socket created on IP:  :: .
问题回答

我也有同样的问题。 这就是我是如何确定的。

加入:xamppstal dir >mysql:

  1. Rename data folder as data_original
  2. take a copy of backup and rename as data
  3. Copy all folders (only folders) from data_original to data
  4. Copy ibdata1 from data_original to data

** PROTECT THAT backup FOLDER ATALL COST, YOU LL NEED IT AGAIN? ** 本文件迟交。





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签