When MySQL or MariaDB is down, dynamic websites and database operations on Plesk may be affected. Disk fullness, corrupted mysql system tables, InnoDB tablespace, incorrect my.cnf, RAM or PID/socket issues may pose a risk of data loss and should be carefully examined.
Failed to start MariaDB database server
Fatal error: Can't open and lock privilege tables
Table mysql.user doesn't exist
InnoDB: Cannot open tablespace
No space left on device
The service not starting does not prove the database is corrupted. Disk or inode fullness, incorrect configuration parameter, low RAM, port conflict, and system tables can produce the same result.
Can't open privilege tables or mysql.user doesn't exist messages indicate that the system database tables are missing or corrupted. They should be treated differently from user databases.
InnoDB tablespace or page-size mismatch errors may indicate corruption of a specific customer database. innodb_force_recovery should be used only for data extraction purposes and with a gradual value.
No space left on device can prevent MariaDB from writing to temporary files, redo logs, or PIDs. Restarting the service repeatedly without first resolving the disk and inode issue is pointless.
Plesk repair db Plesk checks its own psa database consistency; it is a general command that automatically repairs all customer databases.
ibdata1, ib_logfile, redo log or customer .ibd files to delete may cause irreversible data loss as suggested in the forum. If the service does not start, the full data directory copy and the accuracy of the existing backups should be evaluated first.
Search for the phrase you see in the email, browser, or SSH log. Each card includes meaning, probable cause, and safe initial action.
Meaning: Failed to find the MariaDB privilege table.
Possible cause: Incomplete or corrupted mysql system tables or half upgrade.
Meaning: Permission tables could not be opened, so the service could not start safely.
Possible cause: File corruption, wrong format, permissions, or missing tables.
Meaning: InnoDB cannot open the specified tablespace file.
Possible cause: Lost .ibd, corrupted metadata, disk or incorrect file transfer.
Meaning: MariaDB cannot write a new file or temporary data.
Possible cause: Disk capacity or inode is 100% full.
Meaning: There is an unsupported or incorrectly written variable in the MariaDB configuration.
Possible cause: Old parameter or typo after version upgrade.
Meaning: The service process is running, but the control script cannot find the expected PID file.
Possible cause: Incorrect pid-file path, old lock, or multiple service units.
Meaning: Service has closed but the old lock file remains.
Possible cause: OOM or failed shutdown.
Meaning: MariaDB has reached the operating system open file limit.
Possible cause: Too many tables/connections or low LimitNOFILE.
No records matching this expression were found.
Commands are for root access. Collect only status and logs first; Do not change the permanent setting without seeing the reason.
systemctl status mariadb --no-pager 2>/dev/null || systemctl status mysql --no-pager 2>/dev/null || systemctl status mysqld --no-pager
Displays MySQL/MariaDB service status based on distribution.
journalctl -u mariadb -n 150 --no-pager 2>/dev/null
tail -n 150 /var/log/mariadb/mariadb.log 2>/dev/null || tail -n 150 /var/log/mysql/error.log 2>/dev/null || tail -n 150 /var/log/mysqld.log 2>/dev/null
Shows the first technical reason for the initial failure.
df -hT
df -i
Displays space/inode status in data, tmp, and log partitions.
free -h
journalctl -k --since "2 hours ago" | grep -Ei "oom|out of memory|killed process"
Shows whether MariaDB has been killed due to memory pressure.
my_print_defaults mysqld 2>/dev/null
grep -RniE 'innodb_force_recovery|pid-file|datadir|socket' /etc/my.cnf /etc/my.cnf.d /etc/mysql 2>/dev/null
Finds active and risky MariaDB configuration lines.
ss -lntp | grep :3306
ps -ef | grep -E "[m]ysqld|[m]ariadbd"
Displays port 3306 and running real database processes.
plesk repair db
Plesk psa database consistency is checked interactively; it is different from customer DB repair.
Before forcing the service, log, disk, RAM, configuration, and data integrity should be evaluated in sequence.
The first error line should be noted with the MariaDB/MySQL version. The last line often only shows the failed result.
If there is no space or RAM, the system resource must be opened safely before database repair.
df -hT && df -i && free -hDetect added unsupported variable lines after the last update or manual optimization.
mysql tables, Plesk psa database and customer databases require different recovery procedures.
Innodb_force_recovery is not the normal operation mode for write operation. A backup plan is made with the lowest value.
After the service is opened, mysqlcheck/dump validation, Plesk DB check, and application tests are performed.
After opening the area, error log, tmp directory, redo log, and filesystem status are checked; no random InnoDB file is deleted.
Package version, system table upgrade and old my.cnf parameters are checked.
If the service is running, a table-based backup/restore is performed for the related DB; all data remains unaffected.
Processes consuming RAM, MariaDB buffer settings, and systemd OOM logs are analyzed.
Do not delete the PID or lock file without being certain that the real mysqld process does not exist.
No. Plesk focuses on the consistency of the psa database. Customer database and InnoDB corruption should be examined separately.
For emergency data extraction, it should start from the lowest value and be used under expert control; it is not a normal write mode.
In some stale lock situations, it can temporarily solve; but it does not solve disk, corrupted table, or my.cnf errors and can reduce log evidence.
Partial upgrade, file corruption, incorrect data dir restore, or system table format incompatibility may cause this issue.
First, determine which mount is full and what is consuming space. Database files should not be deleted directly.
The real number of open files, table_open_cache, and systemd LimitNOFILE should be measured and balanced together.
No. The readability of tables, dump retrieval, application connection, and persistence after restart should be verified.
By analyzing cPanel, WHM, CloudLinux, LiteSpeed, MariaDB, Exim and security layers together, we fix the root cause of the failure instead of just removing the service.