Error establishing a database connection

Can you try uninstalling the installation and try again? This may help in some cases.

It will be provided in the client are, here:

uninstalling will affect my website right?

Is this an old installation? If it is a new installation no problems!

i have removed wordpress and installed again. but still it says " [Error establishing a database connection]"

Did you verify the database hostname in the wp-config.php file with that in the vPanel? Sometimes it may set something else. Can you share the screenshot of the wp-config.php file. Make sure to hide/blur the password.

screenshot (1)

Change ‘sql111.byetcluster.com’ with that in your vPanel:
image
this is just an example!

image

it still give me same error. is there a way i delete these dbs and wordpress installation and make new installation of wordpress cuz i have the backup of my site.

Change this:
image

yes i changed this. before it was something else. i changed this now.

As I said, you can delete that in softaculous, under the installations tab, here:
Step 1: Go to softaculous and click on the all installations tab.


Step 2. Find your installation and click on the cross (delete) button.

Step 3. Then finally, scroll down and remove the installation.

yes i did the fresh installation but when visit website it said database error not established same error. when i go to mysql db there were 2 dbs the old one and new one…

if i delete all the dbs and install fresh wp. it wil create new db right??

Yes, of course. Also this may help (optional):

still no fix. i have deleted dbs and removed wordpress. installed new wp still getting error.

Can you wait for some time? It may help!

image
from where i can get these accurate values??? so that i can change them manually.