Lesson 1: Create the SQL Anywhere databases

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.

What's next?

Next, you have to start database servers to run the databases.