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

 

Connection parameters passed as connection strings

Connection parameters are passed to the interface library as a connection string. This string consists of a set of parameters, separated by semicolons:

parameter1=value1;parameter2=value2;...

Generally, the connection string that is built by an application and passed to the interface library does not correspond directly to the way users enter information. Instead, a user may complete a window, or the application may read connection information from an initialization file.

Many of the SQL Anywhere utilities accept a connection string as the -c option and pass the connection string unchanged to the interface library. The following example is a typical Backup utility (dbbackup) command line:

dbbackup -c "HOST=myhost;DBN=demo;UID=DBA;PWD=sql" SQLAnybackup
 See also