Moderator
t-p
(@t-p)
“Error establishing a database connection” means that there is a problem with the connection to your database – a problem with the credentials stored in the wp-config.php file not matching what mysql expects.
Try reviewing the following:
https://ww.wp.xz.cn/support/article/common-wordpress-errors/#error-establishing-database-connection
http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/
@t-p Thanks for the help. But I still can’t find the cause. Now https://conggiao24h.net/phpmyadmin/ also cannot work. Please only help me specifically
Moderator
t-p
(@t-p)
Try discussing the issue with your hosting provider.
Most likely your MySQL server is not running because the disk is full, you can see the message “write failed: No space left on device (28)” when you try to open your phpMyAdmin page.
Because of the cache, you can still see your website. You will want to contact your webhosting provider to get this fixed.
@rosehosting @t-p I use Google Free Vps. Is there any way to solve it yourself?
Moderator
t-p
(@t-p)
Have you followed this article:
Common WordPress Errors
Has been fixed. Thank you very much