check for existance of default database connection, closes #410