Configuring a Microsoft SQL Server Database Connection From the Command Line

You can configure the database connection by opening a command window as an Administrator and running dbconfig.exe.

The following are default location for dbconfig.exe:

Use the following command line parameters with dbconfig.exe:

Parameter

Description

-a<Alias Name>

Where <Alias Name> is any valid Alias Name value.

-s<Driver type>

The following are valid values for <Driver type>: Oracle, MSSQL, or PrCSdrv

Driver Type values are case-sensitive.

-d<Database Name>

Specify a valid SqlServer database name, such as PMDB.

For a Compression Server, specify <CompressionServerDatabase Name><@HostName> or <CompressionServerDatabase Name><@IPaddress><:Port[http]>.

-h<Host Name>

Specify a valid SQL Server Database <ServerName> or <IP Address, PORT>.

-u<Database pubuser name>

Where <Database pubuser name> is the valid pubuser name.

-w<Database pubuser's password>

Where <Database pubuser's password> is the valid pubuser's password.

-b<Public Group ID>

Optional. A valid value is any integer. The default is 1.

Notes:

Examples



Legal Notices
Copyright © 1999, 2016, Oracle and/or its affiliates. All rights reserved.

Last Published Tuesday, August 02, 2016