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 Server - Database Administration » Starting and Connecting to Your Database » SQL Anywhere for Windows Mobile » Connecting to a database running on a Windows Mobile device


Determine the IP address of your Windows Mobile device

When connecting to a database that is running on Windows Mobile, you may need the IP address to establish the connection.

To determine the IP address of your Windows Mobile device
  1. From the Start menu, tap Server.

  2. In the Database field, type \My Documents\demo.db or click Browse to locate the database.

  3. In the Server Name field, type the server name that you want to use.

  4. Select Use TCP/IP.

    A TCP/IP connection is necessary to connect from a computer to the database running on your Windows Mobile device.

  5. In the Options field, type -z.

    With the -z option, the server writes out its IP address during startup. The address may change if you disconnect your Windows Mobile device from the network and then re-connect it.

    For more information, see -z server option.

  6. Tap OK to start the sample database running on the network database server.

  7. Navigate to the Today screen on your device.

  8. Tap the database server icon located in the bottom right corner of the screen.

    The IP address appears in the database server messages window.

Now you can create an ODBC data source to connect from the computer to your Windows Mobile device.

For more information, see Create an ODBC data source to connect to your Windows Mobile device.