In your ./sites/default/settings.php file you have configured Drupal to use a mysql server, however your PHP installation currently does not support this database type.

Notes:

  • I'm using EasyPHP on WinXP - worked flawlessly for developing with D6
  • changing database type (mysql,sqlite) doesn't help, but does change the error message - phpinfo() declares that they are both supported in my install of PHP
  • When feeding a blank settings.php file the error message has a blank space where mysql is shown above
  • somewhat unrelated: going to root directory (eg http://site.com/ ) doesn't redirect to install.php like it did in D6 (eg http://site.com/install.php ) - it throws plain text errors

Comments

Damien Tournoud’s picture

You are missing the pdo_mysql extension.

alexanderpas’s picture

at least the error message could be something nicer ;) or point to some documentation.

tempting to put this against usability component.

Dave Reid’s picture

Status: Active » Closed (duplicate)

I can probably add a check that PDO::getAvailableDrivers() is not empty and make sure there is an available database driver in #299308: Installing Drupal by visiting index.php (rather than install.php) leads to a fatal error when PDO is not enabled. I'm going to mark this as a duplicate.

kisor’s picture

Version: 7.x-dev » 6.9
Component: install system » mysql database

Hi,
I was installing drupal6.9 in my Linux Ubuntu system, I saw the version of mysql is MySQL 5.0.51a-3ubuntu5.4 using mysql admin. But I am getting the error "PHP installation currently does not support this database type".

Dave Reid’s picture

kisor, you need the php-mysqli or php-mysql packages installed. You can use Synaptic to get them.