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
已提問 1 年前檢視次數 274 次
1 個回答
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
專家
已回答 1 年前
profile picture
專家
已審閱 1 年前
  • 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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南