'Database configuration' fails, no message

flite - August 6, 2007 - 11:48

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

Couple of things

zeta ζ - August 6, 2007 - 12:35

…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 works

flite - August 6, 2007 - 16:59

The $db_url setting made it.

Thanks!

/Flite

This problem happens with D6.3 installation!

lameei - July 22, 2008 - 20:52

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:

zeta ζ - July 22, 2008 - 21:30

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

This is not my 1st time!

lameei - July 23, 2008 - 10:18

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?

lameei - July 23, 2008 - 11:01

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

AndyLi - July 30, 2008 - 10:03

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

sevol - July 14, 2009 - 07:48

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

same problem but on apache.

anonzilla - August 6, 2007 - 16:00

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

 
 

Drupal is a registered trademark of Dries Buytaert.