This section describes the simple case of running a single database on Windows Mobile.
Tap Start » Programs » SQLAny12.
In the Database field, type the name of the database file that you want to start or tap Browse and locate the Alpha.db file in the My Documents directory.
In the Server Name field, type MobileServer.
In the Options field, type -gd all -x tcpip(port=2639).
The -gd option sets the permissions to allow any user to start additional databases on the network database server. This is necessary in a later lesson. See -gd dbeng12/dbsrv12 server option.
The port that the database server will use is 2639. It is best to avoid the use of port 2638 because it is the default TCP/IP port for a SQL Anywhere server running on your desktop system. For more information, see -x dbeng12/dbsrv12 server option.
Click Use TCP/IP.
A TCP/IP connection is necessary to connect from a desktop computer to the database running on your Windows Mobile device.
Tap OK to start the sample database running on the network database server.
Navigate to the Today screen on your device.
Tap the database 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 can proceed to the next lesson.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|