Mysql is not working. I cannot access any dB, nor PhpMyAdmin. I'm using Debian 11 and aaPanel 7.0.25. Can you help me with the following logs?
service mysql status
root@vps:/var/lib/mysql# service mysql status
● mariadb.service - MariaDB 10.5.29 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2025-09-29 12:12:50 CEST; 5min ago
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Process: 3027615 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, >
Process: 3027616 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited,>
Process: 3027617 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=/usr/bin/ga>
Process: 3027802 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (c>
Main PID: 3027802 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
Sep 29 12:12:50 vps.mindteq.com mariadbd[3027802]: 2025-09-29 12:12:50 0 [ERROR] InnoDB: Plugin initializati>
Sep 29 12:12:50 vps.mindteq.com mariadbd[3027802]: 2025-09-29 12:12:50 0 [Note] InnoDB: Starting shutdown...
Sep 29 12:12:50 vps.mindteq.com mariadbd[3027802]: 2025-09-29 12:12:50 0 [ERROR] Plugin 'InnoDB' registratio>
Sep 29 12:12:50 vps.mindteq.com mariadbd[3027802]: 2025-09-29 12:12:50 0 [Note] Plugin 'FEEDBACK' is disable>
Sep 29 12:12:50 vps.mindteq.com mariadbd[3027802]: 2025-09-29 12:12:50 0 [ERROR] Could not open mysql.plugin>
Sep 29 12:12:50 vps.mindteq.com mariadbd[3027802]: 2025-09-29 12:12:50 0 [ERROR] Failed to initialize plugin>
Sep 29 12:12:50 vps.mindteq.com mariadbd[3027802]: 2025-09-29 12:12:50 0 [ERROR] Aborting
Sep 29 12:12:50 vps.mindteq.com systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAIL>
Sep 29 12:12:50 vps.mindteq.com systemd[1]: mariadb.service: Failed with result 'exit-code'.
Sep 29 12:12:50 vps.mindteq.com systemd[1]: Failed to start MariaDB 10.5.29 database server.
InnodB error
250813 16:45:12 mysqld_safe Starting mariadbd daemon with databases from /www/server/data
2025-08-13 16:45:13 0 [Note] /www/server/mysql/bin/mariadbd (server 10.7.3-MariaDB-log) starting as process 1
249 ...
2025-08-13 16:45:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2025-08-13 16:45:13 0 [Note] InnoDB: Number of transaction pools: 1
2025-08-13 16:45:13 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2025-08-13 16:45:13 0 [Note] InnoDB: Initializing buffer pool, total size = 402653184, chunk size = 134217728
2025-08-13 16:45:13 0 [Note] InnoDB: Completed initialization of buffer pool
2025-08-13 16:45:13 0 [Note] InnoDB: 128 rollback segments are active.
2025-08-13 16:45:13 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2025-08-13 16:45:13 0 [ERROR] InnoDB: The error means the system cannot find the path specified.
2025-08-13 16:45:13 0 [ERROR] InnoDB: Cannot open datafile for read-only: './lessn/lessn_schema_info.ibd' OS
error: 71
2025-08-13 16:45:13 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2025-08-13 16:45:13 0 [ERROR] InnoDB: The error means the system cannot find the path specified.
2025-08-13 16:45:13 0 [ERROR] InnoDB: Could not find a valid tablespace file for lessn/lessn_schema_info. Ple
ase refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2025-08-13 16:45:13 0 [Warning] InnoDB: Ignoring tablespace for lessn/lessn_schema_info because it could not
be opened.
2025-08-13 16:45:13 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2025-08-13 16:45:13 0 [ERROR] InnoDB: The error means the system cannot find the path specified.
2025-08-13 16:45:13 0 [ERROR] InnoDB: Cannot open datafile for read-only: './lessn/lessn_urls.ibd' OS error:
71
2025-08-13 16:45:13 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2025-08-13 16:45:13 0 [ERROR] InnoDB: The error means the system cannot find the path specified.
2025-08-13 16:45:13 0 [ERROR] InnoDB: Could not find a valid tablespace file for lessn/lessn_urls. Please ref
er to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2025-08-13 16:45:13 0 [Warning] InnoDB: Ignoring tablespace for lessn/lessn_urls because it could not be open
ed.
2025-08-13 16:45:13 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2025-08-13 16:45:13 0 [Note] InnoDB: Setting file '/www/server/data/ibtmp1' size to 12 MB. Physically writing
the file full; Please wait ...
2025-08-13 16:45:13 0 [Note] InnoDB: File '/www/server/data/ibtmp1' size is now 12 MB.
2025-08-13 16:45:13 0 [Note] InnoDB: 10.7.3 started; log sequence number 31835520; transaction id 53270
2025-08-13 16:45:13 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-08-13 17:08:04 0 [Note] InnoDB: Removed temporary tablespace data file: "/www/server/data/ibtmp1"
2025-08-13 17:08:04 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2025-08-13 17:08:04 0 [Note] InnoDB: Setting file '/www/server/data/ibtmp1' size to 12 MB. Physically writing
the file full; Please wait ...
2025-08-13 17:08:04 0 [Note] InnoDB: File '/www/server/data/ibtmp1' size is now 12 MB.
2025-08-13 17:08:04 0 [Note] InnoDB: 10.7.3 started; log sequence number 31835532; transaction id 53270
2025-08-13 17:08:04 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-08-13 17:08:04 0 [Note] InnoDB: Loading buffer pool(s) from /www/server/data/ib_buffer_pool
2025-08-13 17:08:04 0 [Note] Recovering after a crash using mysql-bin
2025-08-13 17:08:04 0 [Note] Starting table crash recovery...