From 5dbe916cb5ca5d623557d40e311858e669476887 Mon Sep 17 00:00:00 2001 From: Aran Dunkley Date: Fri, 9 May 2008 05:37:01 +0000 Subject: [PATCH] Preparing for MSSQL database support coming soon --- config/index.php | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/config/index.php b/config/index.php index 08b4c4d819..3a45951005 100644 --- a/config/index.php +++ b/config/index.php @@ -71,7 +71,13 @@ $ourdb['sqlite']['fullname'] = 'SQLite'; $ourdb['sqlite']['havedriver'] = 0; $ourdb['sqlite']['compile'] = 'pdo_sqlite'; $ourdb['sqlite']['bgcolor'] = '#b1ebb1'; -$ourdb['sqlite']['rootuser'] = 'root'; +$ourdb['sqlite']['rootuser'] = ''; + +$ourdb['mssql']['fullname'] = 'MSSQL'; +$ourdb['mssql']['havedriver'] = 0; +$ourdb['mssql']['compile'] = 'mssql not ready yet'; # Change to 'mssql' after includes/DatabaseMssql.php added; +$ourdb['mssql']['bgcolor'] = '#ffc0cb'; +$ourdb['mssql']['rootuser'] = 'administrator'; ?> @@ -1436,6 +1442,9 @@ if( count( $errs ) ) { +
+ NOTE: SQLite only uses the Database name setting above, the user, password and root settings are ignored. +
@@ -1448,6 +1457,19 @@ if( count( $errs ) ) { + +
+
+

If you need to share one database between multiple wikis, or + between MediaWiki and another web application, you may choose to + add a prefix to all the table names to avoid conflicts.

+ +

Avoid exotic characters; something like mw_ is good.

+
+ +
-- 2.20.1