Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » MobiLink - 入门 » MobiLink 教程 » 教程:使用远程数据库的集中管理

 

第 1 课:创建统一数据库

在本课中,您将设置统一数据库。如果已有同步系统,则可跳过此部分。

 ♦  创建统一数据库
  1. 运行以下命令创建要在本教程中使用的目录。统一目录包含通常驻留在中央服务器上的所有数据库和其它文件。

    md c:\cadmin_demo
    md c:\cadmin_demo\consolidated
  2. 创建 SQL Anywhere 统一数据库和要连接到其中的 ODBC 数据源。

    cd c:\cadmin_demo\consolidated
    dbinit consol.db
    start dbeng12 consol.db
    dbdsn -w cadmin_tutorial_consol consol -y -c "uid=dba;pwd=sql;dbf=consol.db;server=consol"
    cd ..