S
SyncError
Guest
We were recently having issues with our Plesk server running incredibly slow (often timing out when trying to access the Plesk Control Panel). Our VPS provider made some fixes and at the time requested our admin password.
I changed the admin password via the Control Panel, however, apparently used a password that was too long and no error checks were in place to let me know of the error. We were no longer able to log in to the Plesk Control panel at all. I was instructed to change the password in the /etc/psa/.psa.shadow file. Since doing so we have been able to log into the Plesk Control panel however we have not been able to restart the PSA.
When attempting to start the MySQL or PSA service we receive error messages that the 'admin@localhost' is failing to authenticate.
To fix the problem I know I most likely need to either reset the admin@localhost MySQL user's password or delete and recreate the user. However, I have been unable to do so.
I am able to start the PSA only by running my MySQL with the skip-grant-tables option, which is a short term solution at best due to the security issues. I log into the mysql console using root and attempt to reset the admin@localhost password, but always receive an error message.
My problem seems to be the same as found in this old thread [here].
If I attempt to reset the password:
SET PASSWORD FOR admin=PASSWORD('newpassword');
I get the following error:
'ERROR 1132: You must have privileges to update tables in the mysql database to be able to change passwords for others'.
I also attempted to reset the password from within the Plesk Console since I have access again, however, that seem to have no effect on the admin@locahost MySQL user as I had hoped.
Has anyone had and found a solution to this problem?
I changed the admin password via the Control Panel, however, apparently used a password that was too long and no error checks were in place to let me know of the error. We were no longer able to log in to the Plesk Control panel at all. I was instructed to change the password in the /etc/psa/.psa.shadow file. Since doing so we have been able to log into the Plesk Control panel however we have not been able to restart the PSA.
When attempting to start the MySQL or PSA service we receive error messages that the 'admin@localhost' is failing to authenticate.
To fix the problem I know I most likely need to either reset the admin@localhost MySQL user's password or delete and recreate the user. However, I have been unable to do so.
I am able to start the PSA only by running my MySQL with the skip-grant-tables option, which is a short term solution at best due to the security issues. I log into the mysql console using root and attempt to reset the admin@localhost password, but always receive an error message.
My problem seems to be the same as found in this old thread [here].
If I attempt to reset the password:
SET PASSWORD FOR admin=PASSWORD('newpassword');
I get the following error:
'ERROR 1132: You must have privileges to update tables in the mysql database to be able to change passwords for others'.
I also attempted to reset the password from within the Plesk Console since I have access again, however, that seem to have no effect on the admin@locahost MySQL user as I had hoped.
Has anyone had and found a solution to this problem?