Database connection working again