Had a Plesk upgrade fail with the following errors:
1 2 3 |
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) |
After extensive Google searches finally found the answer – the server had a /root/.my.cnf file with credentials, which were valid, but the simple presence of that file breaks the Plesk upgrade.
Removing/renaming the file makes the upgrade, or rather, the bootstrap repair, run fine. That bootstrap command, by the way, can be run to repair the failed upgrade:
1 |
/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair |
Then running the autoinstaller again finishes any unfinished upgrade tasks.