skip to main content
Getting started : Connection URL
 

Try DataDirect Cloud Now

Connection URL

A JDBC URL includes the following elements:
protocol:[//hostname:port][;property=value[;...]]
A Database property defines the Data Source name to which you want to connect. For example, the following example URL assumes:
*a Data Source name of MyDS
*the Cloud data store credentials are stored in the MyDSData Source.
jdbc:datadirect:ddcloud:database=MyDS
The URL elements to connect to a Data Source defined in the DataDirect Cloud dashboard as described in the following table. For the DataDirect Cloud connectivity service, the hostname and port are fixed and can be omitted.
Table 2. JDBC URL Elements
URL Element
Description
Value
Protocol
The protocol for the DataDirect Cloud connectivity service.
jdbc:datadirect:ddcloud: 
HostName
URL of DataDirect Cloud connectivity service.
service.datadirectcloud.com 
Port
Port for the DataDirect Cloud connectivity service.
443 
property=value
Optional connection options for the DataDirect Cloud JDBC driver.
Database is the only required connection option. The name of the DataDirect Cloud Data Source is saved in your DataDirect Cloud account.
For more information on other optional connection options, see Connection Properties.