diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-12 07:53:27 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-12 07:53:27 +0000 |
| commit | ff61046619b172bf9b15f3344293a0e54c10848b (patch) | |
| tree | 9464a331f819928a4756a74e5d52d2d9386fb974 /roundcubemail/config | |
| parent | e63f247582d04039dca43c0baf7e7bd8dde017f6 (diff) | |
- added comments to set absolute path for SQLite DSN (#1486095)
git-svn-id: https://svn.roundcube.net/trunk@2947 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/config')
| -rw-r--r-- | roundcubemail/config/db.inc.php.dist | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/config/db.inc.php.dist b/roundcubemail/config/db.inc.php.dist index 4020b266a..a9ffe52ac 100644 --- a/roundcubemail/config/db.inc.php.dist +++ b/roundcubemail/config/db.inc.php.dist @@ -16,11 +16,13 @@ $rcmail_config = array(); // PEAR database DSN for read/write operations // format is db_provider://user:password@host/database +// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php // currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; // postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail'; -// sqlite example: 'sqlite://./sqlite.db?mode=0646'; +// Warning: for SQLite use absolute path in DSN: +// sqlite example: 'sqlite:////full/path/to/sqlite.db?mode=0646'; // PEAR database DSN for read only operations (if empty write database will be used) // useful for database replication |
