This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.
In site.php what is your setting for DB_SERVER, is it localhost or an IP? And is the database user assigned to it?
As a test you might try throwing up a PHP page with a basic database connection attempt and just see if your database user is able to connect that way outside of C5.