Unable to find connection to database