From: Aran Dunkley Date: Fri, 9 May 2008 05:37:01 +0000 (+0000) Subject: Preparing for MSSQL database support coming soon X-Git-Tag: 1.31.0-rc.0~47795 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=5dbe916cb5ca5d623557d40e311858e669476887;p=lhc%2Fweb%2Fwiklou.git Preparing for MSSQL database support coming soon --- 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.

+
+ +