Silent Death while installing database (base installation)

h3rkie - August 22, 2008 - 08:18
Project:Drupal
Version:6.4
Component:install system
Category:support request
Priority:normal
Assigned:Unassigned
Status:active (needs more info)
Description

in my case drupal seems to die silently while i try to install it on my server.

while in step 3 ("Set up database") drupal does recognize wrong input (wrong db, wrong user or pwd) and gives nice error messages.

but entering the data which should work and clicking "Save and continue" results in no reaction what so ever. although he does reload the page (leaving the db field emtpy) he does not continue

could anyone of you help me?

#1

dwees - October 3, 2008 - 22:07

I had this exact issue. Check the text underneath where it asks you to enter in your chosen database. In my case it says 'MYSQLI' instead of 'MYSQL' as the type of chosen database. I had the MYSQLI extension enabled in PHP, but no support for it on my server.

However, the line I had uncommented in settings.php was the MYSQL line, so I was a bit surprised to see the MYSQLI in my database settings. Someone on IRC suggested this was the Drupal installer making a 'suggestion'. This suggestion leads to the exact same behaviour h3rkie is describing.

Solution was, disable the MYSQLI extension in PHP. Rerun the installer, everything works.

Personally I think the installer should say something like "We notice you have set MYSQL as your default database when MYSQLI is available in your PHP.ini settings. We highly suggest using MYSQLI instead. Here is a link to a page that describes how to set up MYSQLI on your server."

#2

dwees - October 3, 2008 - 22:10

I should note that I am using Wamp5 on Windows for localhost testing purposes when I am having this issue.

 
 

Drupal is a registered trademark of Dries Buytaert.