Dark Mode

Import IDE Settings

  • Download the DataStax JDBC Driver.
  • Unzip the driver download.
  • Download settings.zip.
  • Import the settings.zip into DataGrip by selecting FileManage IDE SettingsImport Settings in DataGrip.
  • From the directory menu, select the settings.zip file from the directory where it is stored.
  • Select Import and Restart.
  • Go to the Advanced Settings to confirm the VM home path is set to Default .image:ROOT:DriverThing.png[]

When you create your connection, the URL will look like this:`jdbc:cassandra://;AuthMech=<2>;UID=token;PWD=<ApplicationToken>;SecureConnectionBundlePath=<PATH TO YOUR SECURE CONNECT BUNDLE>;TunableConsistency=<6>`

image:ROOT:url.png[]

  • AuthMech: Specifies whether the driver connects to a Cassandra or Astra DB database and whether the driver authenticates the connection.
  • ApplicationToken: Generated from Astra DB console. See Manage application tokens.
  • SecureConnectionBundlePath: Path to where your downloaded Secure Connect Bundle is located. See Get secure connect bundle.
  • TunableConsistency: Specifies Cassandra replica or the number of Cassandra replicas that must process a query for the query to be considered successful.

Now that your connection is working, you can create tables, introspect your keyspaces, view your data in the DataGrip table explorer, and more.

To learn more about DataGrip, see Quick start with DataGrip.