Using isql, connect to Replication Server and create a connection to the primary site SQL Anywhere database.
The following command creates a connection to the primedb database on the PRIMEDB Open Server.
CREATE CONNECTION TO PRIMEDB.primedb SET ERROR CLASS rs_sqlserver_error_class SET FUNCTION STRING class rs_sqlserver_function_class SET USERNAME dbmaint SET PASSWORD dbmaint WITH LOG TRANSFER ON go |
If you have changed the dbmaint user ID and password in the rssetup.sql command file, make sure you replace the dbmaint username and password in this command.
Replication Server does not actually use the primedb database name; instead, the database name is read from the command line of the PRIMEDB Open Server. You must, however, include a database name in the CREATE CONNECTION statement to conform to the syntax.
For a full description of the create connection statement, see the chapter "Replication Server Commands" in Replication Server Reference Manual.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |