
| Prev | User's Guide | Next |
dsnadd
Description
dsnaddsimplifies the setup of a new ODBC data source that uses the Pervasive ODBC Client Interface driver. It modifies theodbc.inifile by adding appropriate information about the new data source. For the latest information ondsnadd, see the man page.Synopsis
To add a data source, execute the following command:
dsnadd -dsn=server_DSN -db=DB_name [-ini=inifile] [-desc=DSN_description] [-drv-desc=driver_description]dsnadd -dsn=myDSN -desc=datasource -db db_name -host=psqlhost -sdsn=svDSNmyDSN
is a name you want to assign to the new data source.datasource
is any string to describe the data source.psqlhost
is the name of the network host where your Pervasive.SQL is installed.svDSN
is the name of the data source on the Pervasive.SQL host.Options
Examples
To add a Client DSN named
localDSNthat references an Engine DSN namedremoteDSNon a machine namedserver12, enter the following command:dsnadd -dsn=localDSN -desc=any_text -host=server12 -svr-dsn=remoteDSNSee Also
| Prev dbmaint |
Contents Up Check for Revisions | Next mkded |