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 this computer when you want to start and connect to a database on this 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 or click Browse to search for the database file. 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. See DatabaseKey (DBKEY) connection parameter.
Database name Type the name of the database you are connecting to or choose a recently-used database name from the dropdown list. Otherwise, a default name is assigned to the database. This default name is the root of the database file. For example, a database with the file name C:\Database Files\demo.db would be given the default name of demo.
Each database running on a database server is identified by a database name. See Naming the database server and the databases and Connecting to the utility database.
Server name Type the name of the SQL Anywhere personal server that you are starting. For example, demo. You can omit the server name if you want to connect to the default personal server.
You can choose a recently-used personal server name from the dropdown list. See Naming the database server and the databases and ServerName (Server) connection parameter.
To start a network server, you must use the Start line field.
Start line Type a command to start a personal or a network database server on your computer. You can also choose a recently used start line from the dropdown list.
Personal database server Enter a start line only if you want to connect to a local database server that is not currently running and if you want to set your own start parameters.
For example to start the personal database server, enter C:\Program Files\SQL Anywhere 12\Bin32\dbeng12.exe -c 8M.
. See StartLine (START) connection parameter.
Network database server Enter a start line to start a network database server on this computer.
For example to start the network database server, enter C:\Program Files\SQL Anywhere 12\Bin32\dbsrv12.exe -x none
. For more information, see StartLine (START) connection parameter.
You can also include options in the Start Line field. Use the Start Line and options when you want to:
Employ any advanced server features.
Control protocol options.
Provide diagnostic or troubleshooting messages.
Set permissions.
Set database parameters (including encryption).
For more information about options you can specify in the Start Line field, see: The SQL Anywhere database server.
Stop database after last disconnect Select this option to automatically shut down the database after the last user disconnects. See AutoStop (ASTOP) connection parameter.
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 |