recovery file for my instance Tya-WP

0

I hope you're well. I'm reaching out because of an urgent issue with my website. During a WordPress update, the auto-update feature failed and I attempted a manual update. Unfortunately, this process caused an error in the 'wp-config.php' file, rendering the website non-operational.

Your expertise in resolving this matter would be greatly appreciated due to the potential business impact. Please let me know when you're available to discuss further, and if you need any specific details or access credentials to look into the issue.

This is the error I got: **Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'username_here'@'localhost' (using password: YES) in /opt/bitnami/wordpress/wp-includes/class-wpdb.php on line 1775 Access denied for user 'username_here'@'localhost' (using password: YES)

Error establishing a database connection**

Thank you in advance for your prompt attention.

TyaChic
asked 10 months ago263 views
1 Answer
0

Hello.
From the nature of the error, it appears that access to the database has failed.
First, please make sure that the database password, host name, and user name listed in wp-config.php are correct.

If there is a snapshot of Lightsail before the failure, it would be one way to restore the instance from here.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-instance-from-snapshot

profile picture
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago
  • That's the point, I couldn't find the username and credentials for the database, if you know how to find them from lightsail it would be much appreciated.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions