这是我的 XAMPP 控制面板的屏幕截图:
这是我的错误日志:
2019-11-27 7:54:14 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-27 7:54:14 0 [Note] InnoDB: Uses event mutexes
2019-11-27 7:54:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-27 7:54:14 0 [Note] InnoDB: Number of pools: 1
2019-11-27 7:54:14 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-27 7:54:14 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-27 7:54:14 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-27 7:54:14 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1791378
2019-11-27 7:54:14 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-27 7:54:14 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-27 7:54:14 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-27 7:54:14 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-27 7:54:14 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-27 7:54:14 0 [Note] InnoDB: Waiting for purge to start
2019-11-27 7:54:15 0 [Note] InnoDB: 10.3.16 started; log sequence number 1791387; transaction id 163
2019-11-27 7:54:15 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-27 7:54:15 0 [Note] InnoDB: Buffer pool(s) load completed at 191127 7:54:15
2019-11-27 7:54:15 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-27 7:54:15 0 [Note] Server socket created on IP: '::'.
2019-11-28 5:07:13 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-28 5:07:13 0 [Note] InnoDB: Uses event mutexes
2019-11-28 5:07:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-28 5:07:13 0 [Note] InnoDB: Number of pools: 1
2019-11-28 5:07:13 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-28 5:07:13 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-28 5:07:13 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-28 5:07:13 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2039505
2019-11-28 5:07:13 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-28 5:07:14 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-28 5:07:14 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-28 5:07:14 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-28 5:07:14 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-28 5:07:14 0 [Note] InnoDB: Waiting for purge to start
2019-11-28 5:07:14 0 [Note] InnoDB: 10.3.16 started; log sequence number 2039514; transaction id 684
2019-11-28 5:07:14 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-28 5:07:14 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-28 5:07:14 0 [Note] Server socket created on IP: '::'.
2019-11-28 5:10:34 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-28 5:10:34 0 [Note] InnoDB: Uses event mutexes
2019-11-28 5:10:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-28 5:10:34 0 [Note] InnoDB: Number of pools: 1
2019-11-28 5:10:34 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-28 5:10:34 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-28 5:10:34 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-28 5:10:34 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2040167
2019-11-28 5:10:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-28 5:10:35 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-28 5:10:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-28 5:10:35 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-28 5:10:35 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-28 5:10:35 0 [Note] InnoDB: Waiting for purge to start
2019-11-28 5:10:35 0 [Note] InnoDB: 10.3.16 started; log sequence number 2040176; transaction id 700
2019-11-28 5:10:35 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-28 5:10:35 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-28 5:10:35 0 [Note] Server socket created on IP: '::'.
2019-11-28 5:14:52 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-28 5:14:52 0 [Note] InnoDB: Uses event mutexes
2019-11-28 5:14:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-28 5:14:52 0 [Note] InnoDB: Number of pools: 1
2019-11-28 5:14:52 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-28 5:14:52 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-28 5:14:52 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-28 5:14:52 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2040845
2019-11-28 5:14:53 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-28 5:14:53 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-28 5:14:53 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-28 5:14:53 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-28 5:14:53 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-28 5:14:53 0 [Note] InnoDB: 10.3.16 started; log sequence number 2040854; transaction id 711
2019-11-28 5:14:53 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-28 5:14:53 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-28 5:14:53 0 [Note] Server socket created on IP: '::'.
2019-11-28 5:19:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-28 5:19:27 0 [Note] InnoDB: Uses event mutexes
2019-11-28 5:19:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-28 5:19:27 0 [Note] InnoDB: Number of pools: 1
2019-11-28 5:19:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-28 5:19:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-28 5:19:27 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-28 5:19:27 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=5222673
2019-11-28 5:19:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-28 5:19:28 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-28 5:19:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-28 5:19:28 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-28 5:19:28 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-28 5:19:28 0 [Note] InnoDB: 10.3.16 started; log sequence number 5222682; transaction id 1347
2019-11-28 5:19:28 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-28 5:19:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-28 5:19:28 0 [Note] Server socket created on IP: '::'.
2019-11-28 5:28:57 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-28 5:28:57 0 [Note] InnoDB: Uses event mutexes
2019-11-28 5:28:57 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-28 5:28:57 0 [Note] InnoDB: Number of pools: 1
2019-11-28 5:28:57 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-28 5:28:57 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-28 5:28:57 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-28 5:28:57 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=8402858
2019-11-28 5:28:57 0 [Note] InnoDB: Resizing redo log from 2*5242880 to 2*524288000 bytes; LSN=8402876
2019-11-28 5:28:58 0 [Note] InnoDB: Starting to delete and rewrite log files.
2019-11-28 5:28:58 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile101 size to 524288000 bytes
2019-11-28 5:28:58 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 524288000 bytes
2019-11-28 5:28:58 0 [Note] InnoDB: Renaming log file C:\xampp\mysql\data\ib_logfile101 to C:\xampp\mysql\data\ib_logfile0
2019-11-28 5:28:58 0 [Note] InnoDB: New log files created, LSN=8402876
2019-11-28 5:28:58 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-28 5:28:58 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-28 5:28:58 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-28 5:28:58 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-28 5:28:58 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-28 5:28:58 0 [Note] InnoDB: Waiting for purge to start
2019-11-28 5:28:58 0 [Note] InnoDB: 10.3.16 started; log sequence number 8402876; transaction id 1981
2019-11-28 5:28:58 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-28 5:28:58 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-28 5:28:58 0 [Note] Server socket created on IP: '::'.
2019-11-28 22:10:10 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-28 22:10:10 0 [Note] InnoDB: Uses event mutexes
2019-11-28 22:10:10 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-28 22:10:10 0 [Note] InnoDB: Number of pools: 1
2019-11-28 22:10:10 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-28 22:10:10 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-28 22:10:10 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-28 22:10:10 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=27153381
2019-11-28 22:10:11 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-28 22:10:11 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-28 22:10:11 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-28 22:10:11 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-28 22:10:11 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-28 22:10:11 0 [Note] InnoDB: 10.3.16 started; log sequence number 27153390; transaction id 4845
2019-11-28 22:10:11 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-28 22:10:11 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-28 22:10:11 0 [Note] Server socket created on IP: '::'.
2019-11-28 23:46:45 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-28 23:46:45 0 [Note] InnoDB: Uses event mutexes
2019-11-28 23:46:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-28 23:46:45 0 [Note] InnoDB: Number of pools: 1
2019-11-28 23:46:45 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-28 23:46:45 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-28 23:46:45 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-28 23:46:45 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=27184739
2019-11-28 23:46:45 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-28 23:46:46 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-28 23:46:46 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-28 23:46:46 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-28 23:46:46 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-28 23:46:46 0 [Note] InnoDB: Waiting for purge to start
2019-11-28 23:46:46 0 [Note] InnoDB: 10.3.16 started; log sequence number 27184748; transaction id 4940
2019-11-28 23:46:46 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-11-28 23:46:46 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-28 23:46:46 0 [Note] Server socket created on IP: '::'.
2019-11-29 4:50:19 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-29 4:50:19 0 [Note] InnoDB: Uses event mutexes
2019-11-29 4:50:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-29 4:50:19 0 [Note] InnoDB: Number of pools: 1
2019-11-29 4:50:19 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-29 4:50:19 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-29 4:50:19 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-29 4:50:19 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=27189447
2019-11-29 4:50:20 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-29 4:50:20 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-29 4:50:20 0 [Note] InnoDB: Creating shared tablespace for temporary tables
Run Code Online (Sandbox Code Playgroud)
小智 14
我遇到了类似的问题,并尝试了Fabrizio Valencia的Stack Overflow 答案。有效。
\n\n\n停在那里!请不要删除任何东西!首先尝试做我所做的事情。
\n好的,这里列出的答案都没有解决我的问题,甚至,一些答案使我丢失了所有数据库数据。因此,我按照 XAMPP 消息面板中的错误消息的指示执行了操作。所以我这样做了:
\n\n
\n- 将文件夹重命名
\nmysql/data为mysql/data_old(您可以使用任何名称)- 新建一个文件夹
\nmysql/data- 将驻留
\nmysql/backup在新mysql/data文件夹中的内容复制到- 将所有数据库文件夹复制
\nmysql/data_old到mysql/data- 最后复制
\nibdata1文件mysql/data_old并将其替换到mysql/data文件夹中- 从 XAMPP 控制面板启动 MySQL
\n并且,瞧\xc3\xa0。没有数据库丢失,没有端口更改,没有以管理员身份运行,没有强制恢复,没有终止 mysqld 进程,没有从以前的版本恢复,没有更多错误。
\n
小智 -1
它对我有用(部分):请阅读全部内容
我从“ xampp\mysql\backup ”复制了所有数据(文件夹和文件)并将其粘贴并替换为“ xampp\mysql\data ”。就这样...
注意: 请确保您在其他位置备份了这两个文件夹(“备份”和“数据”),包括文件和文件夹。以便您可以随时回滚。
警告:我遇到了另一个问题。我无法访问不同数据库中的几个表。数据库表行、类型、大小、开销列为空,排序规则列显示“正在使用”。
但是,这对我来说没关系。因为大多数人都在跑步。但是,我仍然在寻找答案。因此,我分享修复问题之前和之后的 MySQL 日志。以便它可以帮助其他人找到真正的原因。
MySQL 日志:修复问题之前 (2020-07-22 10:18:46)
InnoDB: Mutexes and rw_locks use Windows interlocked functions
InnoDB: Uses event mutexes
InnoDB: Compressed tables use zlib 1.2.11
InnoDB: Number of pools: 1
InnoDB: Using SSE2 crc32 instructions
InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
InnoDB: Completed initialization of buffer pool
InnoDB: Starting crash recovery from checkpoint LSN=1352041099
InnoDB: 128 out of 128 rollback segments are active.
InnoDB: Removed temporary tablespace data file: "ibtmp1"
InnoDB: Creating shared tablespace for temporary tables
InnoDB: Setting file 'DRIVE:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
InnoDB: File 'DRIVE:\xampp\mysql\data\ibtmp1' size is now 12 MB.
InnoDB: Waiting for purge to start
InnoDB: 10.4.10 started; log sequence number 1352041108; transaction id 134006
Plugin 'FEEDBACK' is disabled.
InnoDB: Loading buffer pool(s) from DRIVE:\xampp\mysql\data\ib_buffer_pool
InnoDB: Buffer pool(s) load completed at 200722 10:18:53
Server socket created on IP: '::'.
Run Code Online (Sandbox Code Playgroud)
MySQL 日志:修复问题后 (2020-07-22 15:34:45)
InnoDB: Mutexes and rw_locks use Windows interlocked functions
InnoDB: Uses event mutexes
InnoDB: Compressed tables use zlib 1.2.11
InnoDB: Number of pools: 1
InnoDB: Using SSE2 crc32 instructions
InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
InnoDB: Completed initialization of buffer pool
InnoDB: Starting crash recovery from checkpoint LSN=300638
InnoDB: 128 out of 128 rollback segments are active.
InnoDB: Removed temporary tablespace data file: "ibtmp1"
InnoDB: Creating shared tablespace for temporary tables
InnoDB: Setting file 'DRIVE:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
InnoDB: File 'DRIVE:\xampp\mysql\data\ibtmp1' size is now 12 MB.
InnoDB: Waiting for purge to start
InnoDB: 10.4.10 started; log sequence number 300647; transaction id 195
InnoDB: Loading buffer pool(s) from DRIVE:\xampp\mysql\data\ib_buffer_pool
Plugin 'FEEDBACK' is disabled.
Server socket created on IP: '::'.
InnoDB: Buffer pool(s) load completed at 200722 15:34:46
Run Code Online (Sandbox Code Playgroud)
MySQL 日志:大约 8 个月前的第一次日志。(2019-12-05 22:27:34)
InnoDB: Mutexes and rw_locks use Windows interlocked functions
InnoDB: Uses event mutexes
InnoDB: Compressed tables use zlib 1.2.11
InnoDB: Number of pools: 1
InnoDB: Using SSE2 crc32 instructions
InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
InnoDB: Completed initialization of buffer pool
InnoDB: Starting crash recovery from checkpoint LSN=300288
InnoDB: 128 out of 128 rollback segments are active.
InnoDB: Removed temporary tablespace data file: "ibtmp1"
InnoDB: Creating shared tablespace for temporary tables
InnoDB: Setting file 'DRIVE:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
InnoDB: File 'DRIVE:\xampp\mysql\data\ibtmp1' size is now 12 MB.
InnoDB: Waiting for purge to start
InnoDB: 10.4.10 started; log sequence number 300297; transaction id 171
InnoDB: Loading buffer pool(s) from DRIVE:\xampp\mysql\data\ib_buffer_pool
Plugin 'FEEDBACK' is disabled.
Server socket created on IP: '::'.
InnoDB: Buffer pool(s) load completed at 191205 22:27:34
Run Code Online (Sandbox Code Playgroud)
注: 这里的DRIVE是指计算机分区,即C盘或D盘。
| 归档时间: |
|
| 查看次数: |
15905 次 |
| 最近记录: |