• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved [Warning] Access denied for user 'username'@'localhost' (using password: YES)

jamster1981

New Pleskian
Server operating system version
ubuntu 22.04
Plesk version and microupdate number
18.0.60
Hi Everyone,

I've already spent lots of time trying to figure this out from various articles but i'm having no luck.

Basically I've done a fresh install of Plesk on my vps, setup a website, added the database via import. PHPMyadmin works fine but whenever I try to load my website internal pages I get this error shown in the Plesk logs.

Can anyone please advise how to fix this.

Thanks
 
Double check if database host, database user, database user password are correctly defined in website configuration. I recently spent way to much time on a similar issue only to discover that there wan an extra space behind te database user name in the in config file om my website o_O
 
Try using "127.0.0.1" instead of "localhost"

had way to much trouble with MariaDB > 10.6 on Debian/Ubuntu lately when using "localhost" (something to do with socket based connections and the "%" wildcard for access restrictions in mariadb no longer covers "localhost")
 
Back
Top