Config file and database connection test.