Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Although not recommended, you can use the Connect window to start and connect to a database on another computer.
If a database server isn't already running, start a network database server on another computer. For example, run the following command to start a database server:
dbsrv16 -n myserver -gd all
-gd all option is not recommended because it permits any user to start a database on a server. This option is required for the following
scenario. If your database page size is larger than the default of 4096, then specify the
In Sybase Central or Interactive SQL, open the Connect window.
Complete the following fields to connect to the database:
In the Authentication dropdown list, click Database.
In the User ID field, type a user name. For example, type DBA.
In the Password field, type a password for the user. For example, type sql.
In the Action dropdown list, click Start and connect to a database on another computer.
In the Database File field, type the path and extension of the database file, relative to the database server.
For example, type C:\Users\Public\Documents\SQL Anywhere 16\Samples\demo.db.
To create a database name that is different from the file name for subsequent connections, type a name in the Database name field. Do not specify a file path or extension.
For example, type mydemo.
In the Server name field, specify a name for the server.
For this example, use the server name myserver that was specified above.
Since the host computer may be running several database servers, it is recommended that you always specify the database server name.
In the Host field, type the host name of the computer where the database server is running.
Optional: To get a copy of the connection string that is created with this window, click Tools » Copy Connection String to Clipboard.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|