XAMPP Mysql 在编辑 Elementor 页面时崩溃,现在无法重新启动

问题描述 投票:0回答:1

我正在编辑 Elementor Wordpress 页面,mysql 服务器崩溃了。这是第二次发生这种情况。我无法重新启动 mysql 服务器,并且我相信它是一个损坏的表,但我无法登录 mysql shell,因为服务器一开始就不会启动。我已经在下面包含了 mysql 日志。

以下是 XAMPP 控制面板中的错误:

4:34:27 PM [mysql] 检测到状态更改:已停止
4:34:27 PM [mysql] 错误:MySQL 意外关闭。
4:34:27 PM [mysql] 这可能是由于端口阻塞、缺少依赖项所致,
4:34:27 PM [mysql] 权限不当、崩溃或通过其他方法关闭。
4:34:27 PM [mysql] 按日志按钮查看错误日志并检查
4:34:27 PM [mysql] Windows 事件查看器以获取更多线索
4:34:27 PM [mysql] 如果您需要更多帮助,请复制并发布此内容
4:34:27 PM [mysql] 论坛上的整个日志窗口

这是来自 shell 的错误

# mysql --user=root --password=
ERROR 2002 (HY000): Can't connect to MySQL server on 'localhost' (10061)

<pre>
2023-11-13  8:31:56 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-11-13  8:31:56 0 [Note] InnoDB: Completed initialization of buffer pool
2023-11-13  8:31:56 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=178429380
2023-11-13  8:31:56 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-11-13  8:31:56 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2023-11-13  8:31:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-11-13  8:31:56 0 [Note] InnoDB: Setting file 'F:\Code\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-11-13  8:31:56 0 [Note] InnoDB: File 'F:\Code\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2023-11-13  8:31:56 0 [Note] InnoDB: Waiting for purge to start
2023-11-13  8:31:56 0 [Note] InnoDB: 10.4.28 started; log sequence number 178429389; transaction id 69148
2023-11-13  8:31:56 0 [Note] InnoDB: Loading buffer pool(s) from F:\Code\XAMPP\mysql\data\ib_buffer_pool
2023-11-13  8:31:56 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-11-13  8:31:56 0 [Note] Server socket created on IP: '::'.
2023-11-14 16:18:28 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 24412
Cannot find checkpoint record at LSN (1,0x5c4d)
2023-11-14 16:18:28 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2023-11-14 16:18:28 0 [ERROR] Plugin 'Aria' init function returned error.
2023-11-14 16:18:28 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2023-11-14 16:18:28 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-11-14 16:18:28 0 [Note] InnoDB: Uses event mutexes
2023-11-14 16:18:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-11-14 16:18:28 0 [Note] InnoDB: Number of pools: 1
2023-11-14 16:18:28 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-11-14 16:18:28 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-11-14 16:18:28 0 [Note] InnoDB: Completed initialization of buffer pool
2023-11-14 16:18:28 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=190793810
2023-11-14 16:18:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-11-14 16:18:28 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2023-11-14 16:18:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-11-14 16:18:28 0 [Note] InnoDB: Setting file 'F:\Code\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-11-14 16:18:28 0 [Note] InnoDB: File 'F:\Code\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2023-11-14 16:18:28 0 [Note] InnoDB: Waiting for purge to start
2023-11-14 16:18:29 0 [Note] InnoDB: 10.4.28 started; log sequence number 190793819; transaction id 72479
2023-11-14 16:18:29 0 [Note] InnoDB: Loading buffer pool(s) from F:\Code\XAMPP\mysql\data\ib_buffer_pool
2023-11-14 16:18:29 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-11-14 16:18:29 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2023-11-14 16:18:29 0 [ERROR] Failed to initialize plugins.
2023-11-14 16:18:29 0 [ERROR] Aborting
2023-11-14 16:30:55 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 26036
Cannot find checkpoint record at LSN (1,0x5c4d)
2023-11-14 16:30:56 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2023-11-14 16:30:56 0 [ERROR] Plugin 'Aria' init function returned error.
2023-11-14 16:30:56 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2023-11-14 16:30:56 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-11-14 16:30:56 0 [Note] InnoDB: Uses event mutexes
2023-11-14 16:30:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-11-14 16:30:56 0 [Note] InnoDB: Number of pools: 1
2023-11-14 16:30:56 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-11-14 16:30:56 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-11-14 16:30:56 0 [Note] InnoDB: Completed initialization of buffer pool
2023-11-14 16:30:56 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-11-14 16:30:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-11-14 16:30:56 0 [Note] InnoDB: Setting file 'F:\Code\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-11-14 16:30:56 0 [Note] InnoDB: File 'F:\Code\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2023-11-14 16:30:56 0 [Note] InnoDB: Waiting for purge to start
2023-11-14 16:30:56 0 [Note] InnoDB: 10.4.28 started; log sequence number 190793828; transaction id 72479
2023-11-14 16:30:56 0 [Note] InnoDB: Loading buffer pool(s) from F:\Code\XAMPP\mysql\data\ib_buffer_pool
2023-11-14 16:30:56 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-11-14 16:30:56 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2023-11-14 16:30:56 0 [ERROR] Failed to initialize plugins.
2023-11-14 16:30:56 0 [ERROR] Aborting
2023-11-14 16:32:25 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 13804
Cannot find checkpoint record at LSN (1,0x5c4d)
2023-11-14 16:32:25 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2023-11-14 16:32:25 0 [ERROR] Plugin 'Aria' init function returned error.
2023-11-14 16:32:25 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2023-11-14 16:32:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-11-14 16:32:25 0 [Note] InnoDB: Uses event mutexes
2023-11-14 16:32:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-11-14 16:32:25 0 [Note] InnoDB: Number of pools: 1
2023-11-14 16:32:25 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-11-14 16:32:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-11-14 16:32:25 0 [Note] InnoDB: Completed initialization of buffer pool
2023-11-14 16:32:25 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-11-14 16:32:25 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-11-14 16:32:25 0 [Note] InnoDB: Setting file 'F:\Code\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-11-14 16:32:25 0 [Note] InnoDB: File 'F:\Code\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2023-11-14 16:32:25 0 [Note] InnoDB: Waiting for purge to start
2023-11-14 16:32:25 0 [Note] InnoDB: 10.4.28 started; log sequence number 190793837; transaction id 72479
2023-11-14 16:32:25 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-11-14 16:32:25 0 [Note] InnoDB: Loading buffer pool(s) from F:\Code\XAMPP\mysql\data\ib_buffer_pool
2023-11-14 16:32:25 0 [ERROR] Failed to initialize plugins.
2023-11-14 16:32:25 0 [ERROR] Aborting
2023-11-14 16:34:25 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 31052
Cannot find checkpoint record at LSN (1,0x5c4d)
2023-11-14 16:34:25 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2023-11-14 16:34:25 0 [ERROR] Plugin 'Aria' init function returned error.
2023-11-14 16:34:25 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2023-11-14 16:34:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-11-14 16:34:25 0 [Note] InnoDB: Uses event mutexes
2023-11-14 16:34:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-11-14 16:34:25 0 [Note] InnoDB: Number of pools: 1
2023-11-14 16:34:25 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-11-14 16:34:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-11-14 16:34:25 0 [Note] InnoDB: Completed initialization of buffer pool
2023-11-14 16:34:25 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2023-11-14 16:34:25 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 0 [ERROR] InnoDB: Cannot open datafile for read-only: '.\rc_2024_cd101\wp14rc_options.ibd' OS error: 71
2023-11-14 16:34:25 0 [ERROR] InnoDB: Operating system error number 203 in a file operation.
2023-11-14 16:34:25 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 0 [ERROR] InnoDB: Could not find a valid tablespace file for ``rc_2024_cd101`.`wp14rc_options``. Please refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2023-11-14 16:34:25 0 [Warning] InnoDB: Ignoring tablespace for `rc_2024_cd101`.`wp14rc_options` because it could not be opened.
2023-11-14 16:34:25 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2023-11-14 16:34:25 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 0 [ERROR] InnoDB: Cannot open datafile for read-only: '.\rc_2024_cd101\wp14rc_postmeta.ibd' OS error: 71
2023-11-14 16:34:25 0 [ERROR] InnoDB: Operating system error number 203 in a file operation.
2023-11-14 16:34:25 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 0 [ERROR] InnoDB: Could not find a valid tablespace file for ``rc_2024_cd101`.`wp14rc_postmeta``. Please refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2023-11-14 16:34:25 0 [Warning] InnoDB: Ignoring tablespace for `rc_2024_cd101`.`wp14rc_postmeta` because it could not be opened.
2023-11-14 16:34:25 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2023-11-14 16:34:25 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 0 [ERROR] InnoDB: Cannot open datafile for read-only: '.\rc_2024_cd101\wp14rc_posts.ibd' OS error: 71
2023-11-14 16:34:25 0 [ERROR] InnoDB: Operating system error number 203 in a file operation.
2023-11-14 16:34:25 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 0 [ERROR] InnoDB: Could not find a valid tablespace file for ``rc_2024_cd101`.`wp14rc_posts``. Please refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2023-11-14 16:34:25 0 [Warning] InnoDB: Ignoring tablespace for `rc_2024_cd101`.`wp14rc_posts` because it could not be opened.
2023-11-14 16:34:25 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-11-14 16:34:25 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-11-14 16:34:25 0 [Note] InnoDB: Setting file 'F:\Code\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-11-14 16:34:25 0 [Note] InnoDB: File 'F:\Code\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2023-11-14 16:34:25 0 [Note] InnoDB: Waiting for purge to start
2023-11-14 16:34:25 1 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2023-11-14 16:34:25 1 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 1 [ERROR] InnoDB: Cannot open datafile for read-only: '.\rc_2024_cd101\wp14rc_postmeta.ibd' OS error: 71
2023-11-14 16:34:25 1 [ERROR] InnoDB: Operating system error number 203 in a file operation.
2023-11-14 16:34:25 1 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 1 [ERROR] InnoDB: Could not find a valid tablespace file for ``rc_2024_cd101`.`wp14rc_postmeta``. Please refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2023-11-14 16:34:25 4 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2023-11-14 16:34:25 4 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 4 [ERROR] InnoDB: Cannot open datafile for read-only: '.\rc_2024_cd101\wp14rc_options.ibd' OS error: 71
2023-11-14 16:34:25 4 [ERROR] InnoDB: Operating system error number 203 in a file operation.
2023-11-14 16:34:25 4 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2023-11-14 16:34:25 4 [ERROR] InnoDB: Could not find a valid tablespace file for ``rc_2024_cd101`.`wp14rc_options``. Please refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2023-11-14 16:34:25 0 [Note] InnoDB: 10.4.28 started; log sequence number 190793846; transaction id 72479
2023-11-14 16:34:25 0 [Note] InnoDB: Loading buffer pool(s) from F:\Code\XAMPP\mysql\data\ib_buffer_pool
2023-11-14 16:34:25 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-11-14 16:34:25 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2023-11-14 16:34:25 0 [ERROR] Failed to initialize plugins.
2023-11-14 16:34:25 0 [ERROR] Aborting</pre>

mysql wordpress mariadb xampp elementor
1个回答
0
投票

我找到了解决该问题的帖子。事实证明这不是表的问题,实际上是 XAMPP 相关的问题。

这个堆栈溢出使我能够恢复我的数据库:

此外,我发现了另一个堆栈溢出,建议安装早期版本的 XAMPP。

© www.soinside.com 2019 - 2024. All rights reserved.