Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 » SQL Anywhere Server - Database Administration » Starting and connecting to your database » SQL Anywhere database connections

 

Using connection parameters

When connecting to a database, the application uses a set of connection parameters to define the connection. Connection parameters specify information such as the database server name, the database name, and the user ID. For a list of all supported connection parameters, see Connection parameters.

Each connection parameter specifies a keyword-value pair of the form parameter=value. The following example specifies the password connection parameter for the default password:

Password=sql

Connection parameters are assembled into connection strings. In a connection string, a semicolon separates each connection parameter:

Host=demo12;DatabaseName=demo;ServerName=myserver
 Representing connection strings

Connecting to SQL Anywhere databases
Connection parameters passed as connection strings
Connection parameter syntax rules