---
schema_version: "1"
id: 037b8e0ccd59cb7dbd0d4cdf97a20a136c7cd808f4aeb6cbc126d5be9508a8dd
title: Upgrading and Migrating Cassandra Connector to Version 4.x
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/cassandra-connector/4.1/cassandra-connector-upgrade-migrate.md
canonical_url: https://docs.mulesoft.com/cassandra-connector/4.1/cassandra-connector-upgrade-migrate
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7e5c29e875de40a07d2dcccf983cf23f58522c13e81985336dc5fadfdb208fa3
description: MuleSoft Documentation Site
release: "4.1"
latest: false
---
---
product: Apache Cassandra Connector
version: 4.1
---

# Upgrading and Migrating Cassandra Connector to Version 4.x

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Upgrade Cassandra Connector to version 4.x to use mutual TLS authentication.

## Supported Upgrade Paths

<table><colgroup><col> <col></colgroup><thead><tr><th>From Version</th><th>To Version</th></tr></thead><tbody><tr><td><div><div><p>3.x</p></div></div></td><td><div><div><p>4.x</p></div></div></td></tr></tbody></table>

## New Features in This Release

This release supports Mutual TLS authentication.

## Changes in This Release

This release contains the following changes:

- Removed the **SSL** field from the configuration and replaced it with **TLS**

- Refactored error handling and error types

## Upgrade Prerequisites

Before you perform the upgrade, create a backup of your files, data, and configurations in case you
need to restore to them.

## Upgrade Steps

Follow these steps to perform the upgrade:

1.  In Anypoint Studio, create a Mule project.

2.  In the **Mule Palette** view, click **Search in Exchange**.

3.  In **Add Dependencies to Project**, enter `cassandra` in the search field.

4.  In **Available modules**, select **Cassandra** and click **Add**.

5.  Click **Finish**.

6.  Verify that the Cassandra Connector dependency version is `<4.0.0>` in the `pom.xml` file in the
    Mule project.

Studio upgrades the connector automatically.

### Verify the Upgrade

After you install the latest version of the connector, follow these steps to verify the upgrade:

1.  In Studio, verify that there are no errors in the **Problems** or **Console** views.

2.  Verify that there are no problems in the project `pom.xml` file.

3.  Test the connection to verify that the operations work.

## Revert the upgrade

If it is necessary to revert to the previous version of Cassandra Connector, change the
`cassandra-connector` dependency version in the project’s `pom.xml` file to the previous version.

You must update the project’s `pom.xml` file in Anypoint Studio.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
