• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue ERROR: PleskMainDBException Host '127.0.0.1' is not allowed

hostking

Regular Pleskian
Getttin this error after rebooting server all of a sudden. Has been working for over a year with not 1 change at all.

ERROR: PleskMainDBException Host '127.0.0.1' is not allowed

Is it a auto update of some sort that caused this.

I googled a bit and after adding the below to the plesk mysql.ini file it seems to be working again. But I highly doubt that is secure.

How to fix?

skip-grant-tables
bind-address = 127.0.0.1
 
Hi,

Seems your MySQL server is not correctly configured. You should just grant connection possibility for 127.0.0.1 in MySQL settings, which you have already done and it secure since the access is for localhost.

Thanks,
 
Back
Top