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

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 数据库管理 » 启动并连接到数据库 » SQL Anywhere for Windows Mobile » 连接到在 Windows Mobile 设备上运行的数据库

 

确定 Windows Mobile 设备的 IP 地址

当连接到 Windows Mobile 上运行的数据库时,您可能需要 IP 地址来建立连接。

♦  确定 Windows Mobile 设备的 IP 地址
  1. 从 [开始] 菜单单击 [服务器]。

  2. 在 [数据库] 字段,键入 \My Documents\demo.db 或单击 [浏览] 找到该数据库。

  3. 在 [服务器名] 字段中键入要使用的服务器名。

  4. 选择 [使用 TCP/IP]。

    要从计算机连接到 Windows Mobile 设备上运行的数据库,必须使用 TCP/IP 连接。

  5. 在 [选项] 字段中键入 -z

    利用 -z 选项,服务器在启动过程中输出其 IP 地址。如果断开 Windows Mobile 设备与网络的连接然后重新连接,则地址可能会发生变化。

    有关详细信息,请参见-z 服务器选项

  6. 单击 [确定] 启动在网络数据库服务器上运行的示例数据库。

  7. 浏览至设备上的 [今天] 屏幕。

  8. 单击位于屏幕右下角的 [数据库服务器] 图标。

    IP 地址出现在数据库服务器消息窗口中。

现在,您可以创建 ODBC 数据源以从计算机连接到 Windows Mobile 设备。

有关详细信息,请参见创建 ODBC 数据源以连接到 Windows Mobile 设备