Choose one of the following options to connect to the SQL Anywhere database:
Database Connect to the database using a user ID and password.
User ID Type a user ID for the connection. The user ID you supply must have permissions on a database to connect. See Userid (UID) connection parameter.
The default user ID for SQL Anywhere databases is DBA.
Password Type a password for the connection. The password must be the correct password for the user ID you supply. Passwords are case sensitive. See Password (PWD) connection parameter.
The default password for SQL Anywhere databases is sql when you connect with the default user, DBA.
Windows Integrated Login Choose this option to connect to the database using an integrated login on Microsoft Windows. When you choose this option, your Microsoft Windows user ID and password are supplied to the SQL Anywhere integrated login mechanism.
To use integrated logins, you must have been granted integrated login permission on the database and the database server must be set up to accept integrated logins. See Using Windows integrated logins.
Use the action Connect To A Running Database On Another Computer when you want to connect to a database that is already running on another computer.
When this action is chosen, the following options are available:
Host Specify the computer name on which the database server is running. You can also click Recent to choose a recently-used host and port combination. See Host connection parameter.
Ping Click to test that a computer with the given host name can be found on your network. See Testing the TCP/IP protocol.
Port If your database server is not using the default port of 2638, you must specify the port it is using. You can also click Recent to choose a recently-used host and port combination from the dropdown list.
Recent Click Recent to choose a recently-used host and port combination from the dropdown list.
Server name Type the name of the SQL Anywhere network database server. For example, demo12. You must supply a database server name if you want to connect to a network server.
You can choose a recently-used database server name from the dropdown list or click Find to search for a server. When you click Find, a window appears listing running local personal servers and network servers. See ServerName (Server) connection parameter.
Find Click Find to see a list of running local personal servers and network servers. To choose a database server from this window, select a database server from the list, and then click OK. The database server name appears in the Server Name field.
Database name Type the name of the database you are connecting to or choose a recently-used database name from the dropdown list.
You need a database name only if there is more than one database running on the database server. Each database running on a database server is identified by a database name.
For more information about the database name, see:
The following tools are available:
Test Connection This tool tests whether the information provided results in a proper connection. This tool is only available when you are connecting to a SQL Anywhere database.
Click Show Details to see debugging information about how the connection parameters are used to find the database server.
Copy Connection String to Clipboard This tool copies the connection string, which is based on the information provided to the clipboard.
Save as ODBC Data Source This tool creates an ODBC data source based on the information provided. See Create ODBC data sources using the Connect window.
Setup Windows Mobile proxy port This tool helps you set up a TCP/IP port redirector for connecting to Windows Mobile databases (if Windows Mobile services are installed). This tool is only available if you have Microsoft ActiveSync installed and are connecting to a SQL Anywhere or UltraLite database.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |