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 Start And Connect To A Database On Another Computer when you want to start and connect to a database on another computer.
When this action is chosen, the following options are available:
Database file Type the full path and name of the database file, for example, C:\sample.db. Otherwise, the path of the file is relative to the working directory of the database server.
You can also choose a recently-used database file from the dropdown list. See DatabaseFile (DBF) connection parameter.
Encryption key If the database file is encrypted, you must supply a key to the database server every time the database server starts the database.
You can also supply encryption options in the Start Line field. See DatabaseKey (DBKEY) connection parameter.
Database name Type the name of the database you are starting, 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.
For more information about the database name, see:
Server name Type the name of the SQL Anywhere network database server or choose a recently-used database server name from the dropdown list. For example, demo. You must supply a database server name to connect to a network server.
Host Specify the computer name on which the database server is running.
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(s) If your database server is not using the default port of 2638, you must specify the port it is using.
Recent Click Recent to choose a recently-used host and port combination from the dropdown list.
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|