recovery file for my instance Tya-WP


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.

已提問 1 年前檢視次數 274 次
1 個回答

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.

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.

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