Connection URL
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Connection URL
The connection URL format for the SQL Server driver is:
jdbc:datadirect:sqlserver://hostname:port[;property=value[;...]]
where:
- hostname
- is the IP address or host 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. For a list of connection properties and their valid values, see Connection Properties.
Notes
- Untrusted applets cannot open a socket to a machine other than the originating host.
Example
jdbc:datadirect:sqlserver://server1:1433;User=test;Password=secret
See Connecting to Named Instances for instructions on connecting to named instances.