public function equals(MysqlConnection $connection) {
        return ($this->host == $connection->host && $this->user == $connection->user && $this->password == $connection->password && $this->name == $connection->name && $this->key == $connection->key && $this->cert == $connection->cert && $this->ca == $connection->ca);
    }