Data Source Name. String formats are described in the DSN section while array formats are covered in the "Intro - Connect" section.
An optional argument can contain runtime configuration settings for this package. See setOption() for more information on the available settings.
Table 33-1. Possible PEAR_Error values
Error code | Error message | Reason | Solution |
---|---|---|---|
DB_ERROR_NOT_FOUND | not found | 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. |