when multi databases switched, config operation did not update the connection.