Community & Support

'Database configuration' fails, no message

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

Couple of things

…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

___________________
It’s in the detaιls…

It works

The $db_url setting made it.

Thanks!

/Flite

This problem happens with D6.3 installation!

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!!!!

Have you looked at:

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

___________________
It’s in the detaιls…

This is not my 1st time!

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.

What a strange solution?

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?

I do the same thing as

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

same for me.. made a copy of

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."

The same worked for me

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?

same problem but on apache.

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...