Applicable to:
- Plesk Obsidian for Linux
Symptoms
-
On a Plesk Obsidian for Linux server, the following error is shown in the menu Tools & Settings > Assistance and Troubleshooting > MySQL Process list (Beta):
CONFIG_TEXT: Request failed with status code 500
-
The following error is found in the file
/var/log/plesk/panel.log
with Plesk debug mode enabled:CONFIG_TEXT: ERR [panel] SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES):
-
The value in the column
admin_password
of the tableDatabaseServers
from the Plesk database doesn't contain a valid value (8 asterisks):Note: If the value of the
admin_password
is valid, the following command will return1
# plesk db -Ne "select COUNT(admin_password) from DatabaseServers where id = 1 and admin_password = '********' "
0
Cause
Issue is caused by bug with ID PPPM-11086, which is planned to be fixed in product future updates.
Resolution
Apply the following workaround if the server was affected by this bug:
-
Connect to the server via SSH
-
Back up the Plesk database:
# plesk db dump psa > psa.backup.sql
-
Configure the value of the
admin_password
for the local MySQL server with 8 asterisks:# plesk db "update DatabaseServers set admin_password='********' where id = 1"
Comments
6 comments
Hello
I not understand something here :
update DatabaseServers set admin_password='********' where id = 1;
Query OK, 1 row affected (0.10 sec)
Rows matched: 1 Changed: 1 Warnings: 0
What i must to put in "*****" (any password i want?)
Thanks
Fabian
Hi Fabian Marsiglione,
There's no mistake in the command, and the "password" that has to be set is 8 asterisks
So what is the fix here?
We have latest version but problems remains
Hello Yevgeny Mozgov 🇬🇷🍌🍄🗳️
What's the output on your server of this command?
plesk db -Ne "select COUNT(admin_password) from DatabaseServers where id = 1 and admin_password = '********' "
Does the workaround from this article work for you?
This error is still relevant in the latest version of plesk when using mariadb 10.3! how to solve?
Сергей Засухин Hi! Workaround from article should help:
Back up the Plesk database:
# plesk db dump psa > psa.backup.sql
Configure the value of the
admin_password
for the local MySQL server with 8 asterisks:# plesk db "update DatabaseServers set admin_password='********' where id = 1"
Please sign in to leave a comment.