Now that you have started the database server and connected to the Alpha database, you can start additional databases on your Windows Mobile device.
This lesson assumes that you have completed all preceding lessons. See Lesson 1: Creating Windows Mobile databases.
Context and remarks
When attempting to start a second SQL Anywhere database server on a Windows Mobile device, the standard behavior for Windows Mobile applications is to bring the first database server to the foreground. Because of this behavior, two database servers cannot run simultaneously on a Windows Mobile device. As an alternative to running multiple database servers, one database server can run multiple databases.
In the left pane of Sybase Central, right-click MobileServer and click Start Database.
In the Database File field, type \My Documents\Beta.db.
Click OK to start the database on the network database server.
The database is started on the network database server. Now you must initiate a connection from your desktop computer.
In the left pane of Sybase Central, right-click Beta, and then click Connect.
In the Connect window, complete the following fields:
In the Authentication dropdown list, select Database.
In the User ID field, type DBA.
In the Password field, type sql.
In the Action dropdown list, select Connect to a running database on another computer.
In the Host field, type 169.254.2.1.
In the Port field, type 2639.
In the Server Name field, type MobileServer.
In the Database Name field, type Beta.
Click Connect to connect to Beta.db.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|