- old-passwords = 1 should be disabled in the /etc/my.cnf file.
- Obtain the correct Plesk password: cat /etc/psa/.psa.shadow ($AES-128-CBC$33yZTimLYQFax/iFgiQGkQ==$gqGlImLkTalp26cDeS3C9g==)
- sudo /etc/init.d/mysqld stop
- sudo mysqld_safe --skip-grant-tables &
- mysql -u admin
- update mysql.user set password=PASSWORD("$AES-128-CBC$33yZTimLYQFax/iFgiQGkQ==$gqGlImLkTalp26cDeS3C9g==") where User='admin';
- flush privileges;
- sudo /etc/init.d/mysqld stop
- sudo /etc/init.d/mysqld start
Update the password for Plesk using the ch_admin_passwd utility:
- /usr/local/psa/bin/admin --show-password
- export PSA_PASSWORD=Abe3s3
- /usr/local/psa/admin/bin/ch_admin_passwd
No comments:
Post a Comment