PDO_DBLIB DSN

(no version information, might be only in CVS)

PDO_DBLIB DSN -- Connecting to Microsoft SQL Server and Sybase databases

Description

The PDO_DBLIB Data Source Name (DSN) is composed of the following elements:

DSN prefix

The DSN prefix is sybase: if PDO_DBLIB was linked against the FreeTDS libraries, or mssql: if PDO_DBLIB was linked against the Microsoft SQL Server libraries.

host

The hostname on which the database server resides.

dbname

The name of the database.

Examples

Example 1. PDO_DBLIB DSN examples

The following examples show a PDO_DBLIB DSN for connecting to Microsoft SQL Server and Sybase databases:
mssql:host=localhost;dbname=testdb
sybase:host=localhost;dbname=testdb

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:29