• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question Server Error 500 Plesk\Exception\Database

Colonel36

Basic Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
Plesk Obsidian18.0.57
Does anyone have any idea how to resolve this below. I try to use the repairkit, but it won't let me login? Many thanks in advance
Server Error
Server Error

500 Plesk\Exception\Database​

DB query failed: SQLSTATE[HY000] [2002] Connection refused
TypePlesk\Exception\Database
MessageDB query failed: SQLSTATE[HY000] [2002] Connection refused
FileMysql.php
Line79
 
Hi,

The error indicates all connection slots to the database service have been used up. By default, that is 200 connections and 150 per any single database user.

If
Bash:
plesk db
fails then you need to restart MariaDB
Bash:
systemctl restart mariadb
 
Don't think so. The stored databases don't influence the number of connections.

Your service might be stopped, or several users use up all the connection slots.
 
Back
Top