• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Server Error: 500 Plesk\Exception\Database

kimharding

New Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
Plesk Obsidian 18.0.48
This is my first post here, so sorry if I get anything wrong.
I have an error message, and I am not sure how to fix it. Any suggestions?

DB query failed: SQLSTATE[HY000] [2002] No such file or directory
TypePlesk\Exception\Database
MessageDB query failed: SQLSTATE[HY000] [2002] No such file or directory
FileMysql.php
Line79
 
df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 195M 912K 194M 1% /run
/dev/mapper/vg00-lv01 77G 15G 59G 20% /
tmpfs 971M 0 971M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 456M 229M 193M 55% /boot
tmpfs 195M 0 195M 0% /run/user/0

df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
tmpfs 248530 806 247724 1% /run
/dev/mapper/vg00-lv01 5067360 259566 4807794 6% /
tmpfs 248530 1 248529 1% /dev/shm
tmpfs 248530 7 248523 1% /run/lock
/dev/sda1 124672 320 124352 1% /boot
tmpfs 49706 21 49685 1% /run/user/0

If this helps

× mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-11-27 16:49:43 UTC; 7s ago
Process: 5787 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAIL>
CPU: 5ms

Nov 27 16:49:43 confident-fermat systemd[1]: mysql.service: Scheduled restart job, restart counter >
Nov 27 16:49:43 confident-fermat systemd[1]: Stopped MySQL Community Server.
Nov 27 16:49:43 confident-fermat systemd[1]: mysql.service: Start request repeated too quickly.
Nov 27 16:49:43 confident-fermat systemd[1]: mysql.service: Failed with result 'exit-code'.
Nov 27 16:49:43 confident-fermat systemd[1]: Failed to start MySQL Community Server.
Nov 27 16:49:47 confident-fermat systemd[1]: mysql.service: Start request repeated too quickly.
Nov 27 16:49:47 confident-fermat systemd[1]: mysql.service: Failed with result 'exit-code'.
Nov 27 16:49:47 confident-fermat systemd[1]: Failed to start MySQL Community Server.
 
In my attempts to fix the problem Plesk has now crashed completely, so I have had to abandon the server and start again.
 
What about contacting Plesk Support Team?

 
Back
Top