Database Tour Documentation Contents Index

Ways of Opening Pervasive PSQL Databases

 

1. Opening through ODBC DSN. Select ADO or BDE interface, then choose ODBC data source option and then select the needed ODBC DSN from the drop-down list. But first, you should create an ODBC DSN of the corresponding type using Windows administrative tools, and point it to the database.

2. Opening through connection string. Select ADO interface, then choose Connection string option and write a connection string. This way is very flexible and allows to specify many additional parameters in the connection string and override standard Database Tour connection behavior. It is recommended for advanced users. Here are basic connection strings (more examples and details can be found in the Internet):

Provider=PervasiveOLEDB;Data Source=myServerAddress;   (Pervasive OLE DB Provider must be installed)

Driver={Pervasive ODBC Client Interface};ServerName=myServerAddress;dbq=@dbname;   (Pervasive ODBC Client Interface must be installed)

Notes
Pervasive PSQL client must be installed. The bit-version of it (32 or 64) must match the bit-version of the program.

See also

 Examples of ADO Connection Strings