Lesson 1: Start the sample database

The sample database must be running on your Windows Mobile device before you can connect to it from Interactive SQL.

To start the sample database
  1. On your Windows Mobile device, tap Start » Server.

  2. In the Database field, type the path of the sample database. The default location is \My Documents\demo.db. If you installed the software to a different location, use the Browse button to locate the database.

  3. In the Server Name field, type MobileServer.

  4. In the Cache field, type 5MB.

    The default cache size on Windows Mobile is 600 KB. However, a larger cache size is recommended because it can help improve performance.

  5. Select Use TCP/IP. This tutorial assumes that you will use the default proxy port number, 2638.

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

  7. Navigate to the Today screen on your device.

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

    When the message Now accepting requests appears in the database server messages window, you are ready to move on to the next lesson.

What's next?

Next you will learn how to connect from Interactive SQL to the database running on your Windows Mobile device.