1.1.1

Table Of Contents
DescriptionOption
If the servers or locators have been congured to use authentication,
this option species the user name to use for booting the server and
joining the distributed system.
-user
Sets the DdlUtils verbosity level to one of FATAL, ERROR, WARN,
INFO, or DEBUG, in increasing order of logging. The default level
is INFO.
-verbose
Description
See also sqlf write-schema-to-xml on page 429.
Specify one of these pairs of options to connect to a data source with this command:
Use both -client-bind-address and -client-port to connect to a SQLFire cluster as a thin client
and perform the command.
Use both mcast-port and -mcast-address, or use the -locators property to connect to a SQLFire
cluster as a peer client and perform the command.
Use both -url and -driver-class to connect to a datasource using a JDBC URL and driver. You can
use this option to connect to a data source other than SQLFire.
Examples
This command connects to a SQLFire network server running on localhost:1527, and creates a database schema
using a schema XML le named db-schema.xml:
sqlf write-schema-to-db -files=db-schema.xml
This command connects to a SQLFire network server running on myserver:1234, and creates a database schema
using two schema XML les named db-schema1.xml and db-schema2.xml:
sqlf write-schema-to-db -files=db-schema1.xml,db-schema2.xml
-client-bind-address=myserver -client-port=1234
This command connects as a peer client to a SQLFire system running on multicast port 1234, and creates a
database schema using a schema XML le named db-schema.xml:
sqlf write-schema-to-db -files=db-schema.xml -mcast-port=1234
-extra-conn-props=host-data=false
This command uses MySQL Connector/J to connect to a MySQL server running on the "myserver" host, and
creates a database schema in the "test" database using a schema XML le name db-schema.xml:
sqlf write-schema-to-db -files=db-schema.xml
-url=jdbc:mysql://myserver/test -driver-class=com.mysql.jdbc.Driver
sqlf write-schema-to-sql
Writes the schema of a database to a le as SQL commands. You can use the resulting le to recreate the schema
in SQLFire, or in another database management system. This command is generally used with a SQLFire cluster
to export the schema, but it can also be used with other JDBC datasources.
vFabric SQLFire User's Guide424
vFabric SQLFire Reference