I have a site hosted in hostgator and recently they faced some network issues in datacenter which they fixed. Since then, I am unable to connect to my site. It is giving me ‘Error 500. CDbConnection failed to open the DB connection.’
I didn’t changed anything in my end. I have talked to hosting provider lots of time and they are saying that it is no problem at their end.
I tried connecting using mysql_connect(). And it does connect successfully. I checked for pdo extension and they seem to be enabled. I just could not figure out what might be gone wrong as it was working properly earlier.
Any shades of light in this issue would be very helpful.