Drupal 6.3 Database problem
gazelle - July 14, 2008 - 11:20
Hi,
I have tried to install Drupal 6.3 but it is failing on the database step (http://drupal.org/getting-started/6/install/run-script).
I am entering my database name, user name and password. These are correct. The database user has been granted all permissions. After submitting the page the same page comes up again with no error messages and the fields not populated.
If I place an incorrect password, database user or database name I do get an error message.
Any ideas what may be going wrong?
I have tried with Firefox 3, Safari and IE 8 (emulating IE7).
Kind Regards
Stephen

You're not the only one
You're not the only one having this problem. I've just upgraded a livesite to 6.3 without any issue. However using the same codebase I'm trying to install 6.3 on my WAMP laptop for a testing environment and it locks up at the exact same place.
I'm still a Drupal noob but I checked the settings.php file and it wasn't saving the new database connection string. For a clunky workaround when you reach the database screen load up sites/default/settings.php, go to around line 90 and edit the $db_url string manually with your details. Save it and put the details again into the form. Whatever the problem is it bypasses it and continues with installation.
My (rather uneducated) guess is the config script isn't updating the settings.php file, so when it tries the next step it figures you haven't entered the details and you get aught in the loop. But it'll take someone of a lot more experience to find out how / why.
Your correct setting the
Your correct setting the $db_url worked. I tried changing the permssion of the file to 777 and still no luck.
Fix above works
Hi,
Thank god for this thread - thought was going mad!
Using the above I managed to get it installing on my desktop. I'm on WAMPServer (I think 2.0c I think) with PHP 5.2.6, MySQL 5.0.51b and after entering my DB details the page just kept refreshing.
Using the advice above I updated sites/default/settings.php $db_url (around line 93) with my DB credentials:
$db_url = 'mysql://rob:passw0rd@localhost/drupal_test';
(obviously these are not my real ones!)
Then went back to the install page DIDN'T fill in any details to see what would happen and it worked!
However, PHP timed out during the config, so I had to set the max execution time to something higher (300) and redo this step - but I just think it's my desktop being old and overworked.
Thanks PieManF4!
Cheers
Rob
JUst..
You just need to make empty 'settings.php' file, with appropiate permissions
thanx!
i was having the same prob with my wamp2 installation ( winxp pro sp3 etc enviroment ) and although the "permissions" were right . . . installation couldnt by pass the database page . . .
thanx! timesaver tip!