i have modified the ./sites/default/settings.php( $db_url = 'mysql://username:password@localhost/databasename';),
but the error infomation is

"The following error must be resolved before you can continue the installation process:
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.
Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that Drupal supports. "

Comments

heine’s picture

The error message is relevant: your php installation does not have the required functionality enabled.

You may either try mysqli (and hope your php installation has this extension enabled) or you need to look for some php + mysql documentation.

Check php.ini whether the relevant dlls are commented out. If so, remove the ; :

extension=php_mysql.dll
extension=php_mysqli.dll

One doesn't have to modify settings.php before installation.

--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.

sapark’s picture

I fixed this by adding back the default $db_url line to settings.php:
$db_url = 'mysql://username:password@localhost/databasename';

I had removed it before because my installation was working, but I moved the server and had to reinstall.
(I knew that since it worked before the PHP installation might be ok, and so I just put the settings.php back to defaults as much as I could remember.)

Hope that helps someone.

panamade’s picture

I was having this problem doing my first multi-site, multi-db, Linux installation.

This (above) solved my problem- thank you very much!

karel3s’s picture

I got this error message when entering _intro_ as prefix for my tables.
If you don't start you prefix with an underscore, intro_ in this example, everything works fine.

I guess I should have known, but maybe someone else will benefit from this comment.

Gr,

Karel

vamshi09’s picture

i have modified the ./sites/default/settings.php( $db_url = 'mysql://mydatabaseusername:mydatabasepassword@localhost/mydatabasename';),

mydatabaseusername-xxxxxxxx
mydatabasepassword-xxxxxxxxxxxxx
mydatabasename-xxxxxxxxxxxxxxxxxxxxxx

Please let me know where to coinfigure the database settings