我正在编辑Elementor WordPress页面,MariaDB服务器崩溃。这是第二次发生这种情况。我无法重新启动MariaDB服务器,我相信它是一个损坏的表,但我无法登录到MariaDB shell,因为服务器不会首先启动。我已经包括了下面的日志。
以下是来自XAMPP控制面板的错误:
4:34:27 PM [mysql] Status change detected: stopped<br>
4:34:27 PM [mysql] Error: MySQL shutdown unexpectedly.<br>
4:34:27 PM [mysql] This may be due to a blocked port, missing dependencies, <br>
4:34:27 PM [mysql] improper privileges, a crash, or a shutdown by another method.<br>
4:34:27 PM [mysql] Press the Logs button to view error logs and check<br>
4:34:27 PM [mysql] the Windows Event Viewer for more clues<br>
4:34:27 PM [mysql] If you need more help, copy and post this<br>
4:34:27 PM [mysql] entire log window on the forums
字符串
以下是shell中的错误
# mysql --user=root --password=
ERROR 2002 (HY000): Can't connect to MySQL server on 'localhost' (10061)
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
的数据
2条答案
按热度按时间t3psigkw1#
按照说明“请对所有Aria表运行aria_chk -r并删除所有aria_log.##文件”
字符串
如果成功:
型
InnoDB的只读文件很奇怪。是否有文件的权限更改?
mtb9vblg2#
我找到了一个解决这个问题的帖子,原来这不是一个表的问题,实际上是一个XAMPP相关的问题。
This stack overflow allowed me to recover my databases:
此外,我发现另一个堆栈溢出,建议安装早期版本的XAMPP。