• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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