Data Source Name. See the "DSN" section for further information.
If $options is TRUE the connection will be persistent (requires support by database driver). Default is FALSE. In future releases, this parameter will be an array and take different options depending on the database.
Table 20-1. Possible PEAR_Error values
Error code | Error message | Reason | Solution |
---|---|---|---|
DB_ERROR_NOT_FOUND | null | The database specific class was not found. | Check the $dsn and make sure to have an complete installation of the DB-package and that you database is supported by DB. |