MDB::connect()
Параметр
- string $dsn
Data Source Name. See the "DSN" section for further information.
- boolean $options
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.
Throws
Таблица 35-1. Возможные значения PEAR_Error
Error code | Error message | Reason | Solution |
---|---|---|---|
MDB_ERROR_NOT_FOUND | NULL | The database specific class was not found. | Check the $dsn and make sure to have an complete installation of the MDB-package and that you database is supported by MDB. |
Пред. | Начало | След. |
MDB | Уровень выше | MDB::isError() |