I put the right database name with the root as username and no password. After validation I still in the same page . Please help

Comments

Wolfflow’s picture

Hi, please provide some more infos ------> see ----> http://drupal.org/Troubleshooting-FAQ

Cheers - Wolfflow
Share your experience with the Open Source Community.
It's not only a choice but a Life Philosophy !!! Adaccs - Do you care?

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

sami_nowhere’s picture

i got the same problem but fortunately got the solution. just u need to put both settings.php and default.settings.php file under the sites>default directory and file should have the write permission!

vrowners’s picture

I'm using mamp pro on osx 10.5.4.

Whenever i try an incorrect username/password/db name, i get the proper error message.

However with all the correct info entered, when I hit submit, I get taken back to the Database configuration screen with no error messages, but I can't get to the install site step.

This is with both versions 6.3 and 6.4.

=======
UPDATE
=======
saw another thread which had the same problem. apparently this is a bug in 6.3/6.4 -- the solution is to enter your username/password/dbname in the settings.php file. go back to install.php, hit next, and it'll take you straight to the 'install site' step.

Wolfflow’s picture

As you have written:

I put the right database name with the root as username and no password.

1. It looks to me that you have not yet given a psw to your MySQL server (correct me if i'm wrong)
this is absolutely needed to get Drupal working even you are on a Local installation.
some info about Mac Mysql install -- Here

2. It can also be that you did not give to your PHP environment enough memory in the php.ini setting file.
look at memory_limit = xxM the xx would be a two digit number (ie 32M(megabytes))
if you have installed more contributes modules PHP will need more memory.

3. You may check with phpMyAdmin if the database you provided in the settings.php
did get filled with tables. If not then 90% is because Drupal installation script have no access to the database
due to no password (I guess)

Hope this might help

UPDATE - Sorry I did not look at the Comment Author , I was writing to jounayd
but I'm sure it's not a Drupal 6.3 or 6.4 bug. Sometimes we are that entusiastic to install Drupal
that we forgot to read the readme.txt and install.txt carefully.
;-)

Cheers - Wolfflow

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

nevets’s picture

Minor point you do not always need a password for the mySql database. Under Windows XP mySQL does not even seem to allow one.

Wolfflow’s picture

Of course it does. I have that on local on XP. ;-)

Cheers - Wolfflow

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

grace874’s picture

Can you give me any instruction on how to give MySQL server a password.
Thank you for your help.

Wolfflow’s picture

Take a look here, the procedure is described well:

Resetting the Root Password on Windows Systems

Cheers

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

sami_nowhere’s picture

put both settings.php and default.settings.php file under sites>default directory and file should have the write permission.

The_cobra666’s picture

Have the same problem. Drupal 6.4. Just go's back to the same page. If you enter the wrong credentials, you get an error. So it does check it. But, it hangs and just reloads...

Wolfflow’s picture

First of all

to ALL posting here: You cannot aspect that you will get any hints, suggestions, refers ...
when you do not provide more information about your installation:

Are you Hosting? if yes provide some info about.
Have you fully and carefully read the install.txt within the Drupal packkage?

you may consult also: Install Drupal 6.x

Cheers - Wolfflow

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

Ionut’s picture

I too have this problem. PHP 5.1.6 with suphp & mysql 5.0.45. It's not a permission problem. I edited the mysql settings.php line and it worked.

Wolfflow’s picture

I see, the problem looks like your hosting do not allow .htaccess index & symlinks settings.

So try to eliminate/modify following lines from the Drupal .htaccess file:

Original:

# Don't show directory listings for URLs which map to a directory.
Options -Indexes
.....

# Follow symbolic links in this directory.
Options +FollowSymLinks

Change to:

# Options -Indexes
# Options +FollowSymLinks

Hope this help

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

ZMan9854’s picture

This happened to me to.

The first error I got on the initial install page was that I needed to copy sites/default.settings.php to sites/settings.php - which I did by simply renaming default.settings.php. This was what caused the database configuration page not to go anywhere - you must copy the file, as it says : )

grace874’s picture

Am I supposed to create a folder in the site default directory, and then move default.setting .php in the new folder?

grace874’s picture

I am not sure what do do about it. If I rename default.setting.php, it responds to to directions. but, when the error says move it, I am not sure what to do. Does it require that I create a new folder? Please give me a clear instruction.
Thank you

Wolfflow’s picture

to @ZMan9854

.... that I needed to copy sites/default.settings.php to sites/settings.php - which I did by simply renaming default.settings.php.

If it say to copy, why do you renamed?
install text are there to help out not to disrupt or joking!

@ TO ALL here if you follow install instructions almost all will do exactly what is planed for.
If you have a bug, please Note the Bug, issues

Please take a time to read: How to troubleshoot (read this first)
and then this: Site Configuration, Module and Installation Issues

You all may find that spending some few minutes in reading those will help you out comeing forward much faster.

Cheers

Cheers - Wolfflow

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

timfel’s picture

Just entered the mysql details manually in settings.php, saved it and then clicked save & continue on the installer page and it worked fine.

coderintherye’s picture

Drupal 5.10, 5.9, and 6.4 all produce the same behavior. Attempt install, no error message with correct login info. This is hosted on Crystaltech. www.crystaltech.com MySQL 5.

I've done several installs now, usually I have wamp or lamp stack and use phpmyadmin to set up the database. With this host, I don't have that option and haven't been able to get phpmyadmin to work on them. I did the settings.php copy and it didn't work.

I don't think it is necessarily a bug with Drupal, but it is a problem that an error message isn't given.

Indeed putting the settings in the settings.php file directly and then continuing with install.php worked. Really would like to see a fix to this.