Error establishing a database connection (again)

This seems to be a pretty common issue. I have updated the db nam, user and password in the wp-config. nothing’s working. I tried changing the user password and updating it again, still nothing. Not sure what else to do at this point.

some time this error show. because of sql error. just open c panel of your hosting where you find an option sql database…click on it where you find any option called repair…that it it automatic repair you data base error in 5 min. i also face this type of problem in my website iasdm