How to Solve Establishing a Database Connection Error in WordPress
This is a very common issue for beginner , That issues very clear your website is not connected with your database. Sometimes it can happen your database is corrupt that’s why you seen the massages.
If we any mistake connecting website with database ( like database name, database user and password incorrectly ) that time we seen the massage Establishing a Database Connection Error in WordPress Website. So Please see How to Fix Establishing a Database Connection Error in WordPress Website
I will share every thing step by step
01. Login your C-panel
02. Go to file managger
03. Find the file wp-confiq.php
05. Open the file on notepad find the databse settings options
06. Fill the correct data base name, user and password.