Hello guys, i already tried every tutorial in the internet, from Plesk, from Odin, etc etc, when i access the Plesk i got the message:
ERROR: PleskDBException: Unable to connect to database: mysql_connect(): Access denied for user 'admin'@'localhost' (using password: YES) (Error code: 1045) (Abstract.php:69)
i know the right admin password for MySQL and for Plesk, but when i try to use the command :
"mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa" i got "ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)", in this files /etc/psa/.psa.shadow, the password is crypto.
so i put the uncrypto password on /etc/psa/.psa.shadow so the command below works, then i run the command that i saw on Plesk tutorial to reset the admin password.
export PSA_PASSWORD='MYNEWPASSWORD'
/usr/local/psa/admin/bin/ch_admin_passwd
get no error message, so i saw the password on /etc/psa/.psa.shadow get crypto, but i the Plesk continue showing the error message and i continues can´t access the mysql using the crypto password on the .psa.shadow file.
Could anybody help me?
Thanks
ERROR: PleskDBException: Unable to connect to database: mysql_connect(): Access denied for user 'admin'@'localhost' (using password: YES) (Error code: 1045) (Abstract.php:69)
i know the right admin password for MySQL and for Plesk, but when i try to use the command :
"mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa" i got "ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)", in this files /etc/psa/.psa.shadow, the password is crypto.
so i put the uncrypto password on /etc/psa/.psa.shadow so the command below works, then i run the command that i saw on Plesk tutorial to reset the admin password.
export PSA_PASSWORD='MYNEWPASSWORD'
/usr/local/psa/admin/bin/ch_admin_passwd
get no error message, so i saw the password on /etc/psa/.psa.shadow get crypto, but i the Plesk continue showing the error message and i continues can´t access the mysql using the crypto password on the .psa.shadow file.
Could anybody help me?
Thanks