Articles in this section

Unable to access Plesk interface: Access denied for user 'admin'@'localhost' (using password: NO)

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

Unable to access Plesk interface with the following error messages:

Server Error
500 Plesk\Exception\Database
DB query failed: SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: NO)

Cause

Incorrect ownerships are set for the /etc/psa/.psa.shadow file:

# ls -la /etc/psa/.psa.shadow
-rw------- 1 root psaadm 62 Apr 28 19:23 /etc/psa/.psa.shadow

Resolution

  1. Connect to the server via SSH.

  2. Set correct ownerships for the /etc/psa/.psa.shadow file:

    # chown psaadm:psaadm /etc/psa/.psa.shadow

  3. Restart MySQL service:

    # systemctl restart mariadb

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.