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

SQL Anywhere 12.0.1 » MobiLink - 入门 » MobiLink 技术 » MobiLink Contact 示例

 

Contact 示例安装

您可以使用名为 build.bat 的 Windows 批处理文件来构建 Contact 示例数据库。在 Unix 系统上,该文件是 build.sh。您最好检查该批处理文件的内容。它执行以下操作:

  • 为统一数据库和每个远程数据库创建 ODBC 数据源定义。

  • 创建一个名为 consol.db 的统一数据库,并将 MobiLink 系统表、数据库模式、一些数据、同步脚本及 MobiLink 用户名装载到该数据库中。

  • 在名为 remote_1remote_2 的子目录下各创建一个远程数据库,都命名为 remote.db。装载两个数据库的共同信息,并应用自定义设置。这些自定义设置包括一个全局数据库标识符、一个 MobiLink 用户名及两个发布的预订。

 ♦ 构建 Contact 示例
  1. 在命令提示符处,导航至 %SQLANYSAMP12%\MobiLink\Contact

  2. 运行 build.bat (Windows) 或 build.sh (Unix)。


运行 Contact 示例