Cannot Log Into MySQL with "Access denied for user 'root'@'localhost'"

Keywords: WordPress - AWS - Technical issue - Other

bnsupport ID: b371f039-f8af-7f0f-b294-33e0e903a0c2

bndiagnostic output:

? Connectivity: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/faq/administration/use-firewall/
https://docs.bitnami.com/installer/faq/linux-faq/administration/increase-memory-linux/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
When trying this fix that has worked in the past for me:

When I run the second command “sudo /opt/bitnami/ctlscript.sh stop mysql” I get this error:
“Failed to stop mysql: Cannot find check with id mysql”

I’m at a newer AMI Bitnami/Wordpress stack compared to the past when this worked Apparently the ctlscript.sh has changed or I’m out in left field.

Hi @matt6,

Did you follow the steps in this guide? It should work.

https://docs.bitnami.com/aws/infrastructure/mysql/administration/change-reset-password-mysql/

Can you run this command:

sudo /opt/bitnami/ctlscript.sh status

Regards,
Michiel