I'm trying to install Drupal 5 on IIS/MySQL.

On the 'Database configuration' page, I enter the details (database name, username, password and host) and hit 'Save configuration'. After a couple of seconds I get back to a blank 'Database configuration' page, without a single message. No tables were created.

Database exists, login details are fine. What can possibly be wrong?

/Flite

Comments

zeta ζ’s picture

…to check;

  • are the details for $db_url in your sites/default/settings.php file correct?
  • remove the @ from the start of the @mysql*_connect() function call, near the start of includes/install.mysql*.inc and try again — Might see an error message at top of page: Won’t be pretty, but might give you a clue.
    * varies, depending on your MySQL version
flite’s picture

The $db_url setting made it.

Thanks!

/Flite

lameei’s picture

Happens with D6.3 installation on local host. i don't know what the $db_url details should be. Also i have changed the permissions and granted the r/w permissions to drupal folder and all of it's contents. the problem is still there!!!!

zeta ζ’s picture

http://drupal.org/getting-started/6/install/create-database

If you have created the database, you will have the details for $db_url.
___________________
It’s in the detaιls…

demonstration portfolio

lameei’s picture

I'm using Wamp and it's phpmyadmin to create database using mysql. i did this for my online website with using cpanel and also several times using wamp for local installation(D6.2 and D5.8) there was no problem.
this is the 1st time i get this issue and also 1st time installing D6.3 from scratch.
For $db_url I replaced the username and pass of the database for that but i got warnings.

lameei’s picture

I went to www\drupal-6.3\sites\default and made a copy of default.settings.php and the renamed it to settings.php and now it is working. before this i only renamed the name of the default.settings.php without making copy.
was this the solution(actually solved my problem)? why this was not the issue in D6.2?

AndyLi’s picture

I do the same thing as you(copy instead of rename)after facing the same problem, and the problem is solved!

sevol’s picture

same for me.. made a copy of settings.php n renamed it to default.settings.php.. WORKS!

i dont know why but would this be a problem..
"Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.36. This may cause unpredictable behavior."

sebnor’s picture

Copying the file instead of renaming it to settings.php worked for me too! Thank you lameei!

Anyone who can explain why this works? Kind of strange that copying the file instead of moving/renamning it would make any difference?

anonzilla’s picture

I'm having the same exact problem but on apache 1.3.29, php5.2.3 and mysql 4.1.22

trying to install drupal 5.2...