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
已提问 9 个月前243 查看次数
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
专家
已回答 9 个月前
profile picture
专家
已审核 9 个月前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则