Connection strings for Pervasive

Pervasive PSQL ADO.NET Data Provider

Type .NET Framework Class Library
Usage Pervasive.Data.SqlClient.PsqlConnection
Manufacturer Pervasive

Standard

Server Name=myServerAddress;Database Name=myDataBase;User ID=myUsername;
Password=myPassword;
 
 

Disabling connection pooling

Server Name=myServerAddress;Database Name=myDataBase;User ID=myUsername;
Password=myPassword;Pooling=False;
 
 

Pervasive OLE DB Provider

Type OLE DB Provider
Usage Provider=PervasiveOLEDB
Manufacturer Pervasive

Using database name

Provider=PervasiveOLEDB;Data Source=myServerAddress;
 
 

Using path to data files

Provider=PervasiveOLEDB;Data Source=C:\datafilesDirectory;
 
 

Remote connection

Provider=PervasiveOLEDB;Data Source=myDataBase;Location=myServerAddress;
 
 

.NET Framework Data Provider for OLE DB

Type .NET Framework Wrapper Class Library
Usage System.Data.OleDb.OleDbConnection
Manufacturer Microsoft

Use an OLE DB provider from .NET

Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;

See the respective OLEDB provider's connection strings options. The .net OleDbConnection will just pass on the connection string to the specified OLEDB provider. Read more here.

 
 

Pervasive ODBC Client Interface

Type ODBC Driver
Usage Driver={Pervasive ODBC Client Interface}
Manufacturer Pervasive

Standard

Driver={Pervasive ODBC Client Interface};ServerName=myServerAddress;dbq=@dbname;
 
 

.NET Framework Data Provider for ODBC

Type .NET Framework Wrapper Class Library
Usage System.Data.Odbc.OdbcConnection
Manufacturer Microsoft

Use an ODBC driver from .NET

Driver={any odbc driver's name};OdbcKey1=someValue;OdbcKey2=someValue;

See the respective ODBC driver's connection strings options. The .net OdbcConnection will just pass on the connection string to the specified ODBC driver. Read more here.

 
 

Popular