(no version information, might be only in CVS)
The PDO_MYSQL Data Source Name (DSN) is composed of the following elements:
The DSN prefix is mysql:.
The hostname on which the database server resides.
The name of the database.
例子 1. PDO_MYSQL DSN examples
The following example shows a PDO_MYSQL DSN for connecting to MySQL databases:
mysql:host=localhost;dbname=testdb