On database configuration page I entered mysql database name, user and password but when I clicked on save and continue I was not redirected to Install site page but again on set up database page. No errors where shown. any solution?

/Sorry for my crappy English/

Comments

Juris Malinens’s picture

Thank You for Your answers :)

Thank You again. This forum is the best! :)))))))))

bmoremus’s picture

what was your solution? I'm having the same problem... and I'm using ff 2

just tried using ie6, too

bmoremus’s picture

forget it. just went into settings.php and manually entered the db config info.

Juris Malinens’s picture

I was installing drupal with newest fiefox 3. I tried to install with Opera and successfully installed drupal. Dont forget to make EMPTY settings.php...

-Anti-’s picture

Sorry no-one answered before you found a solution.

It is quite worrying that you had problems installing with Firefox 3.
I wonder if other people will have the same problem!?

Cheers.

kurt82’s picture

Please help.

aaheroe’s picture

thanks for your answer

JohnnyHa’s picture

Is this a normal problem since i am getting it as well. And entering your settings.php file with db information doesnt say anywhere in the readme.
Never had to use it before, just suddenly on a new install i get these problems.
Shouldnt the installer create the tables and info itself ?

If i fill in my db information in settings.php it will output tons of errors since it is looking for tables which i havent created, since the installer should do that.

Actually this is a 6.3 issue, 5.9 installs perfectly without any single error.
So whats up ? Whats with 6.3 that is different.

mauror’s picture

Actually this is a 6.3 issue, 5.9 installs perfectly without any single error.
So whats up ? Whats with 6.3 that is different.

Cookies? JavaScript settings? -- Disclaimer: this is just a shoot in the dark...

pol’s picture

Hi,

I'm using 6.3 on MAMP and I have the same problem.

-Pol-

kurt82’s picture

Using FF3, click save and continue, not directed to Install site but instead came back again to the Database configuration page.

Try IE6 also the same.

Someone here said that make sure your settings.php is empty? how to make sure of that?

Please advice. Thanks in advance!

-Anti-’s picture

> Someone here said that make sure your settings.php is empty? how to make sure of that?

Just open your /sites/default/settings.php file in an editor, and delete all the text in it.
Save it and upload again. When you visit your site, Drupal will perform an install.
During the install, Drupal will write a new settngs.php file for you.

I wonder if this is a chmod issue? Maybe v6.3 isn't chmodding properly, meaning Drupal can't write the install information to the settings.php file? If this is the issue, then before the install, you might want to manually check that the following directories and files each have 755 chmod:

/sites
/sites/default
/sites/default/settings.php

Aerandir’s picture

I have the same problem in 6.4. chmodding didn't help, neither did emptying the setup file.

But I just discovered 6.4 doesn't accept mysql databases, only mysqli.

pmg’s picture

Empty settings.php also didn't help

ricoflan’s picture

I've been experiencing the same problem since 6.3 (not fixed in 6.4, unfortunately).

To repeat:

(1) Installer gets to DB screen -- screen does not show MySQL as an option
(2) you input the necessary info
(3) click save and continue
(4) page reloads without blank fields

Basically the fix is a manual workaround:
(1) Open the settings.php file
(2) look for this: $db_url = 'mysql://username:password@localhost/databasename';
(3) change to fit your values
(4) save
(5) go back to installer and click "save and continue"
(6) you are in business (and using MySQL)

I have tried chmod, I have tried a number of things but the solution above is the only thing that is working for me.

Good luck!

ric shreves - water&stone
http://www.waterandstone.com

-Anti-’s picture

The 'i' just means that your host has mySQL5 installed, doesn't it?
The 'i' just stands for 'improved interface'?

If the problem is that the installer for v6.3 (and above) doesn't enter the proper string for SQL4
then instead of posting in this thread (which was originally about a FF3 issue), someone should
alert the devs in the drupal 6.x project page that the installer is broken with SQL4.

zandebar’s picture

I have tried this and the work around didn't work for me, this is my error.

Drupal already installed
The following error must be resolved before you can continue the installation process:
Failed to connect to your MySQL database server. MySQL reports the following message: Access denied for user 'xxxxxxx'@'localhost' (using password: YES).

* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct database hostname?
* Are you sure that the database server is running?

For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

* To start over, you must empty your existing database.
* To install to a different database, edit the appropriate settings.php file in the sites folder.
* To upgrade an existing installation, proceed to the update script.
* View your existing site.

Please check the error messages and try again.

does anyone have any idea's ?

The db is set up and I have made several check with naming issues and passwords

-Anti-’s picture

> The db is set up and I have made several check with naming issues and passwords

A common mistake is not ENABLING the user for that database after creating the user.

zandebar’s picture

I have granted all permissions to the user, is this what you mean ?

z

-Anti-’s picture

> I have granted all permissions to the user, is this what you mean ?

There is another step.
You don't just create a user, you also have to assign that user to the database(s).

In the mysql page, under the section 'current databases', you should see a table:

Database | Size | Users | Actions

Do you have anything listed in the users column?

If not, at the bottom of the mysql page there is a tool: Add User To Database

You may have done this already. I just know that about 50% of people, when they
create their first ever database in mysql, don't add the user to their database.
It's a very common mistake which displays the exact error you're seeing.

zandebar’s picture

I have added user to db, in my SQL datebase displays (0) tables

BTW, this isn't the first time I have set up a sql database :-)

I have got Drupal V5.10 working, but not V6.4 using the same database settings. Of cause I have dropped all the tables between versions.

Ionut’s picture

I too have this problem on a 6.4 install. I just edited the settings.php and solved the problem. Still, it's annoying.

fitlodge’s picture

In the install process, it says to : "make a copy of the default.settings.php file with the command: cp sites/default/default.settings.php sites/default/settings.php"

make sure you didnt just rename like i did. The install process actually needs both files in the directory.

That was my problem.