URL Format: DataDirect Connect for JDBC
- Last Updated: October 3, 2023
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Syntax
jdbc:datadirect:drivername://server_name:port[;property=value[;...]]
where:
- drivername
- is the name of the driver, for example,
sybase. - server_name
- is the IP address or TCP/IP server name of the server to which you are connecting. See Using IP Addresses for details on using IP addresses.
- port
- is the number of the TCP/IP port.
- property=value
- specifies connection properties. Multiple properties are separated by a semi-colon. For a list of connection properties supported for each driver and their valid values, see the appropriate driver chapter.
Note: Untrusted applets cannot open a socket to a machine other than the originating host.
The following table shows some typical driver connection URLs for each driver.
| Driver | URL |
|---|---|
| DB2 for Linux/UNIX/Windows 1 |
|
| DB2 for z/OS and i 2 |
|
| MySQL |
|
| Oracle 3 |
|
| Progress OpenEdge |
|
| Microsoft SQL Server 4 |
|
| Sybase |
|
1 See the DB2 driver chapter for more information
about creating DB2 packages.
2 See the DB2 driver chapter for more information
about creating DB2 packages.
3 See the Oracle driver chapter for instructions
on retrieving connection information from an Oracle tnsnames.ora file.
4 See the SQL Server driver chapter for
instructions on connecting to named instances.