database connection error solved