Creating a connection in DataStax Studio
Steps to create a connection from a notebook to a DSE cluster.
Prerequisites
Each notebook has only one connection. Each connection can have multiple notebooks.
Tip: You can
configure more than one host in a Studio connection. Hosts initialize the Cassandra
driver connection, so more than one host provides redundancy and failover
protection.
A notebook persists its data to a DSE cluster.
- DSE Graph
- The connection identifies a particular graph.
For notebooks using DSE Graph, the connection must be changed to use a different graph.
- CQL
- The connection identifies a database instance.
For notebooks using CQL, the keyspace and table can be changed within the notebook.
Procedure
To create a connection from a notebook to a DSE cluster:
-
Browse to the URL for the Studio installation.
http://URI_running_DSE:9091/
-
In the menu (☰), select the
Connections menu item.
The Connections page in DataStax Studio displays.
-
Create the connection from a notebook to a DSE cluster:
- Click Test to verify the connection works.
- Optional:
To configure a secure encrypted connection, select the Use
SSL check box.
The Truststore and Keystore fields display. See Using SSL connections in DataStax Studio.
-
Click Save.
A connection is created from the notebook to the DSE cluster.