I keep getting 500 Internal Server Error
500 Internal Server Error Failed to connect to database on localhost
There can be different reasons causing this, firstly check the following;
Local Windows Firewall blocking?
TCP connections are allowed for your SQL server?
You can read more and get help in this thread in our forum