ServerName
- Last Updated: December 20, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Cassandra 6.0
- Documentation
Purpose
Specifies the name or the IP address of the server to which you want to connect.
Important: In a Kerberos configuration, an IP address cannot be
used for the ServerName connection property. The value of the ServerName property must be
the same as the fully qualified host name used in the Kerberos service principal
name.
Valid Values
server_name | IP_address
where:
- server_name
- is the name of the server to which you want to connect.
- IP_address
- is the IP address of the server to which you want to connect.
The IP address can be specified in either IPv4 or IPv6 format, or a combination of the two.
Example
If your network supports named servers, you can specify a server name such
as MyServer, or you can specify an IP address such as
199.226.224.34.
Data Source Method
setServerName
Default
No default value
Data Type
String