Database connection failed, terminating script.