Lost wp admin passord

Keywords: WordPress + NGINX + SSL - Google Cloud Platform - Technical issue - Credentials
bnsupport ID: 848d9f3b-92e7-34c5-d9e4-76d01ebeeb4f
How I can change admin user name and password.

Hello @gturkistani,

You can change it directly in the database. To access the database you would need to use the password obtained from executing:

sudo cat /home/bitnami/bitnami_credentials

After that, you just need to execute the necessary commands to change the password and the email as explained in the guides.

Francisco de Paz

1 Like

hi @fdepaz

I’ve applied that to many websites I am managing and was ok.

only one website I could not apply that and I’ve user the password I got using the line of command you’ve recommend. But it says wrong password.
ERROR 1292 (22007) at line 1: Truncated incorrect DOUBLE value: ‘user’

what shall I do. ?

Check please



Hello @gturkistani,

Does the error appear after introducing the password with any of the two commands used to change the password? Please try just connecting to the database using:

mysql -u root -p bitnami_wordpress

If it gives the same error try typing the database password in the same command:

mysql -u root --password=PASSWORD bitnami_wordpress

Francisco de Paz