PDO_DBLIB DSN -- Connecting to Microsoft SQL Server and Sybase databases
The PDO_DBLIB Data Source Name (DSN) is composed of the following elements:
The DSN prefix is sybase: if PDO_DBLIB was
linked against the FreeTDS libraries, mssql:
if PDO_DBLIB was linked against the Microsoft SQL Server libraries,
or dblib: if linked against any other variety
The hostname on which the database server resides.
The name of the database.
Example 1. PDO_DBLIB DSN examples
The following examples show a PDO_DBLIB DSN for connecting to
Microsoft SQL Server and Sybase databases: