the unidentified error on a database connection usually means that there is a problem with the testing server settings in the site definition.
double change the testing server settings and make sure the URL Prefix for the testing server is set properly.