summaryrefslogtreecommitdiff
path: root/includes/database.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-12 20:13:04 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-12 20:13:04 +0000
commit87df276acb5c83877368431bb188e939de0681be (patch)
tree33b906cbbac1ef9035747e72c01d5573120f5ebc /includes/database.inc
parent3ce836e2e205cc4dc74b073f43c9e47b1fb4fb54 (diff)
downloadbrdo-87df276acb5c83877368431bb188e939de0681be.tar.gz
brdo-87df276acb5c83877368431bb188e939de0681be.tar.bz2
- Patch #29910 by m3avrck, nsk, Thomas et al: added a mysqli database backend for use with PHP5 and MySQL 4.1 and above.
NOTE: I don't have MySQL 4.1 setup at the moment so I could _not_ test this patch. Luckily, various people reported that it works.
Diffstat (limited to 'includes/database.inc')
-rw-r--r--includes/database.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database.inc b/includes/database.inc
index 0fe82d247..5315e66ec 100644
--- a/includes/database.inc
+++ b/includes/database.inc
@@ -118,7 +118,7 @@ function db_set_active($name = 'default') {
else {
drupal_maintenance_theme();
drupal_set_title('Unsupported database type');
- print theme('maintenance_page', '<p>The database type '. theme('placeholder', $db_type) .' is unsupported. Please use either <var>mysql</var> for MySQL databases or <var>pgsql</var> for PostgreSQL databases. The database information is in your <code>settings.php</code> file.</p>
+ print theme('maintenance_page', '<p>The database type '. theme('placeholder', $db_type) .' is unsupported. Please use either <var>mysql</var> for MySQL 3.x &amp; 4.0.x databases, <var>mysqli</var> for MySQL 4.1.x+ databases, or <var>pgsql</var> for PostgreSQL databases. The database information is in your <code>settings.php</code> file.</p>
<p>For more help, see the <a href="http://drupal.org/node/258">Installation and upgrading handbook</a>. If you are unsure what these terms mean you should probably contact your hosting provider.</p>');
exit;
}