skip to main content
Getting started : Connecting from an application : JDBC URL
 

Try DataDirect Cloud Now

JDBC URL

The JDBC URL syntax is
jdbc:datadirect:ddcloud:[//hostname:port][;property=value[;...]]
The URL contains elements to connect to a Data Source defined in the DataDirect Cloud dashboard as described Connection URL, and can include optional connection properties that are defined in Connection Properties.
For example, the following URL assumes:
*a Data Source name of MyDS
*the Cloud data store credentials are stored in the MyDSData Source.
*user name and password for the DataDirect Cloud account are username and mypassword, respectively.
*the driver waits 15 seconds for a connection to be established before timing out.
jdbc:datadirect:ddcloud:database=myDataSource;user=myusername;password=mypassword;
LoginTimeout=15;