From 90c82ebf13a1058727f7277a2466c9c4fcfeccdc Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 25 Sep 2015 13:03:54 -0400 Subject: [PATCH] Clarify DSN for SQLite on Windows (#1490547) --- config/defaults.inc.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/defaults.inc.php b/config/defaults.inc.php index 6e441cd..161eee6 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -21,9 +21,10 @@ // Database connection string (DSN) for read+write operations // Format (compatible with PEAR MDB2): db_provider://user:password@host/database -// Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv +// Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php -// NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646' +// NOTE: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646' +// or (Windows): 'sqlite:///C:/full/path/to/sqlite.db' $config['db_dsnw'] = 'mysql://roundcube:@localhost/roundcubemail'; // Database DSN for read-only operations (if empty write database will be used) -- Gitblit v1.9.1