This section describes how to create and set up the SQL Anywhere databases for replication.
You can create a database using Sybase Central or the dbinit utility. For this tutorial, you use the dbinit utility.
Create the primary site database
Run the following command from the tutorial directory you created (for example, c:\tutorial\primedb):
dbinit primedb |
This creates a database file named primedb.db in the current directory.
Create the replicate site database
Run the following command from the tutorial directory you created (for example c:\tutorial\repdb):
dbinit repdb |
This creates a database file named repdb.db in the current directory.
Next, you have to start database servers to run the databases.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |