my website is not accessible it shows Error establishing a database connection on both front end and back end I Have checked the details of database in wpconfig.php it’s all okay Maybe The database is down can you tell me how to fix
I have tried Creating php.ini file and paste this code in the root directory but this doesn’t help me also it keeps showing Error establishing a database connection
I am using these two accounts on my free hosting the when I am trying to access the database of the above account Under My SQL databases the First Database is showing Error too many redirects and the second one database is working fine
I am Getting Error of cannot establish a database connection I updated the wp debug to true from false in wpconfig.php not it’s showing the reason of the error of Database Connection but I Can’t Understand What to do now I tried disabling all plugins and themes but that also didn’t work I turned on php config also but only these errors are coming on front and back end please tell me how to fix these