I tried everything but i can't get past the set up database step of the installation.

I use phpmyadmin to add a database called test.
a user is automatically inthere.. root... he has got all the rights and no password.

I will in test a database name
and root as username but when i press save and continue i come back again at the page data base configurations.

Can someone tell me what i am doing wrong?

Comments

coderintherye’s picture

I am having this same problem, although I have successfully set up Drupal before on localboxes, I am trying to set up Drupal on a hosted box via CrystalTech and am not making it past the database page. I tried changing hostnames and stuff and get errors, but if I put in all the correct information as I understand it should be then I just get sent back to a blank database install page. ??

I am trying to install on a database that was already setup on the server by the web site controller, so completely possible this is a problem on my end, but I wish I could get some error reporting instead of just returned to a blank database screen.

coderintherye’s picture

the problem may be because the user I am connecting to the database with doesn't have permission to install a new database, is there a way I can manually create the tables in an already installed database?

Vnaraj’s picture

1. Create a new copy of default.settings.php and rename it to
settings.php So you should have 2 files
default.settings.php
settings.php

in http://localhost/drupal63/sites/default/

2. Install again. You should be ok.

Visun

raamklaza’s picture

I did the renaming in the beginning already, but it doesn't work.

I tried what you said and now i have to files just like you said.

But still installation is stuck at " Set up connection "

I enter my db name and db username press continue and i get the same screen again.

raamklaza’s picture

I checked the db connection that still works

Successfully connected to the server 'localhost'
MySQL client info: 5.0.51a

Successfully connected to the database 'mysql'

Available tables:

columns_priv
db
func
help_category
help_keyword
help_relation
help_topic
host
proc
procs_priv
tables_priv
time_zone
time_zone_leap_second
time_zone_name
time_zone_transition
time_zone_transition_type
user

fang27’s picture

I have the same problem - did you find a solution?

pondster’s picture

The only question I have is it states mysqli - in my drupal 5.x installs I choose between mysql and mysqli - here we are only given one choice?

I have since gave up on installing 6.x and have gone back to my 5.x installs due to project time constraints.

pondster’s picture

sry dbl post - no idea how that happened

HXn’s picture

This worked for me, thanks.

vincelee888’s picture

had this problem myself, make sure you leave a copy of default.settings.php in sites/default/

nateaus’s picture

Such a simple solution. Thanks for your help!

njugunakaranja’s picture

Thanxs alot,

I was thinking it was the problem with Myphp admin, I upgraded, I deleted the all the databases thanks keeping the default.settings.php and settings.php worked!

Great!

hungrytom’s picture

I had this exact same problem. The solution is mentioned below but people seem to have missed it:

The sites/default/default.settings.php file must be COPIED and the duplicate renamed to settings.php so that the directory contains 2 files:

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

With this in place I re-entered the details for DB setup and the install procedure finally continued to copy files and present the config page.

Happy days :)

sumeetonline’s picture

Problem solved !

abl_one’s picture

open settings.php and replace

mysql://username:password@localhost/databasename on line 92 to
mysql://yourusername:yourpassword@localhost/yourdatabasename

then enter some random values into the drupal installation and press next..