Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
You need to add Replication Server tables and procedures to the primary site database for the database to participate in a Replication Server installation. You also need to create two user IDs for use by Replication Server. The SQL command file rssetup.sql is included with SQL Anywhere and performs these tasks.
The rssetup.sql command file must be run on the SQL Anywhere server from the Interactive SQL utility.
Run the rssetup script
From Interactive SQL, connect to the SQL Anywhere database as a user with DBA authority.
Run the rssetup script using the following command:
In this script, install-dir is your SQL Anywhere installation directory.
Alternatively, you can choose File » Run Script, and browse to the file.
The rssetup.sql command file performs the following functions:
While the hard-wired user IDs (dbmaint and sa) and passwords are useful for test and tutorial purposes, you should change the password and perhaps also the user IDs when running databases that require security. Users with DBA authority have full authority in a SQL Anywhere database.
The user ID sa and its password must match that of the system administrator account on the Replication Server. SQL Anywhere does not currently accept a NULL password.
The rssetup.sql script performs a number of operations, including some permissions management. The permissions changes made by rssetup.sql are outlined here. You do not have to make these changes yourself.
For replication, ensure that the dbmaint and sa users can access this table without explicitly specifying the owner. To do this, the table owner user ID must have group membership permissions, and the dbmaint and sa users must be members of the table owner group. To grant group permissions, you must have DBA authority.
For example, if the user DBA owns the table, you should grant group permissions to DBA:
GRANT GROUP TO DBA;
You should then grant the dbmaint and sa users membership in the DBA group. To grant group membership, you must either have DBA authority or be the group ID.
GRANT MEMBERSHIP IN GROUP "DBA" TO dbmaint ; GRANT MEMBERSHIP IN GROUP "DBA" TO sa;
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|