From a2b9bca5c77cc31c5fd74af736805572c7c70258 Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Wed, 26 May 2010 16:32:09 +0000 Subject: [PATCH] MDL-22556 mssql - Enable HEAD installations using the mssql (freetds) driver --- install.php | 2 +- lang/en/install.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/install.php b/install.php index c9c9351a8fb..18ba884f43e 100644 --- a/install.php +++ b/install.php @@ -450,7 +450,7 @@ if ($config->stage == INSTALL_DATABASETYPE) { 'pgsql' => moodle_database::get_driver_instance('pgsql', 'native'), 'oci' => moodle_database::get_driver_instance('oci', 'native'), //'sqlsrv' => moodle_database::get_driver_instance('sqlsrv', 'native'), // new MS sql driver - win32 only - //'mssql' => moodle_database::get_driver_instance('mssql', 'native'), // FreeTDS driver + 'mssql' => moodle_database::get_driver_instance('mssql', 'native'), // FreeTDS driver ); echo '
'; diff --git a/lang/en/install.php b/lang/en/install.php index bd9ffd46368..4f0bcdd0d5f 100755 --- a/lang/en/install.php +++ b/lang/en/install.php @@ -294,7 +294,12 @@ $string['mysqliextensionisnotpresentinphp'] = 'PHP has not been properly configu $string['nativemysqli'] = 'Improved MySQL (native/mysqli)'; $string['nativemysqlihelp'] = 'Now you need to configure the database where most Moodle data will be stored. Database may be created if database user has needed permissions, username and password must already exist. Table prefix is optional.'; +$string['nativemssql'] = 'SQL*Server FreeTDS (native/mssql)'; +$string['nativemssqlhelp'] = 'Now you need to configure the database where most Moodle data will be stored. +This database must already have been created and a username and password created to access it. Table prefix is mandatory.'; $string['nativeoci'] = 'Oracle (native/oci)'; +$string['nativeocihelp'] = 'Now you need to configure the database where most Moodle data will be stored. +This database must already have been created and a username and password created to access it. Table prefix is mandatory.'; $string['nativepgsql'] = 'PostgreSQL (native/pgsql)'; $string['nativepgsqlhelp'] = 'Now you need to configure the database where most Moodle data will be stored. This database must already have been created and a username and password created to access it. Table prefix is mandatory.'; @@ -345,6 +350,9 @@ $string['sessionautostarthelp'] = '

Moodle requires session support and will n

Sessions can be enabled in the php.ini file ... look for the session.auto_start parameter.

'; $string['skipdbencodingtest'] = 'Skip DB Encoding Test'; +$string['nativesqlsrv'] = 'SQL*Server Microsoft (native/sqlsrv)'; +$string['nativesqlsrvhelp'] = 'Now you need to configure the database where most Moodle data will be stored. +This database must already have been created and a username and password created to access it. Table prefix is mandatory.'; $string['sqliteextensionisnotpresentinphp'] = 'PHP has not been properly configured with the SQLite extension. Please check your php.ini file or recompile PHP.'; $string['upgradingqtypeplugin'] = 'Upgrading Question/type Plugin'; $string['welcomep10'] = '{$a->installername} ({$a->installerversion})'; -- 2.43.0