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 教程 » 教程:将 MobiLink 与 Adaptive Server Enterprise 统一数据库结合使用

 

第 3 课:连接 MobiLink

本课将创建一个 ODBC 数据源,用于将 MobiLink 连接到统一数据库。

 ♦  将 MobiLink 连接到统一数据库
  1. 创建 ODBC 数据源。

    您应使用 Adaptive Server Enterprise 所提供的 ODBC 驱动程序。对于本教程,使用以下配置设置:

    [常规] 选项卡字段
    数据源名 ase_cons
    说明
    服务器名(ASE 主机名) localhost
    服务器端口 5000
    数据库名 pubs2
    登录 ID sa
    使用游标 未选
    [Transaction] 选项卡字段
    Server Initiated Transactions 未选
  2. 测试 ODBC 连接:

    1. 在 [常规] 选项卡上,单击 [测试连接].

      将出现 Adaptive Server Enterprise 登录屏幕。

    2. 输入 sa 帐户的口令。

      将出现 [Logon Succeeded] 消息。

配置 ODBC 数据源后,就可使用 MobiLink 12 插件连接到统一数据库并创建同步模型。

 进一步阅读