background image
<< shutdown=true attribute | startSlave=true attribute >>

slavePort=portValue attribute

<< shutdown=true attribute | startSlave=true attribute >>
Derby Reference Manual
345
For more information, see the topics under "Replicating databases" in the Derby Server
and Administration Guide
.
Combining with other attributes
This attribute must be specified in conjunction with the
startMaster=true
attribute. It may
be specified in conjunction with the
startSlave=true
attribute; if it is not, the default value
is
localhost
.
This attribute may be specified only in conjunction with the other attributes permitted with
the startMaster=true and startSlave=true attributes.
Examples
For examples, see
startMaster=true
and
startSlave=true
.
slavePort=portValue attribute
Function
Specifies the port that the slave system will use in database replication.
For more information, see the topics under "Replicating databases" in the Derby Server
and Administration Guide
.
Combining with other attributes
This attribute may be specified in conjunction with the
startMaster=true
attribute and the
startSlave=true
attribute. If it is not specified, the default port value is
4851
.
This attribute may be specified only in conjunction with the other attributes permitted with
the startMaster=true and startSlave=true attributes.
Examples
For examples, see
startMaster=true
and
startSlave=true
.
ssl=sslMode attribute
Function
Specifies the SSL mode of the client. The sslMode can be
basic
,
peerAuthentication
, or
off
(the default). See "Network encryption and
authentication with SSL/TLS" in the Derby Server and Administration Guide for details.
Combining with other attributes
May be combined with all other attributes.
Example
Connecting to
mydb
with basic SSL encryption:
jdbc:derby://localhost/mydb;ssl=basic
startMaster=true attribute
Function
Starts replication of a database in master mode. Before you specify this attribute, you
must cleanly shut down the database on the master system, perform a file system copy
of the database to the slave system, and specify the
startSlave=true
attribute. For details,
see the topic "Starting and running replication" under "Replicating databases" in the
Derby Server and Administration Guide.