Drupal Database configuration

Drupal Database configuration

Posted by: bbeetthh
Posted on: 2008-04-29 23:32:00

It seems like it should be so straightforward, but yet... I've been trying to figure this out for hours.

I've installed Drupal. I have the following screen asking for my database name, my username, and my password. Should be simple, right? But everything I enter turns out wrong!

I've installed a MySQL database on my Dreamhost site. Let's just call it 'sampledatabase' and I've created a hostname, mysql.sampledatabase.com. I've managed to login to phpMyAdmin with my username and password, but nothing seems to work on Drupal.

I assumed the fields should be the following:
Database name: sampledatabase
Username: bbeetthh
Password: ******** (the same password that allowed my access into phpMyAdmin).

I've searched all over the DreamHost Wiki as well as the Drupal install.txt documents, the Drupal tech support pages, and I've tried a billion combinations. What am I doing wrong? Was there something else I should have activated in my DreamHost control panels or phpMyAdmin?


Re: Drupal Database configuration

Posted by: rlparker
Posted on: 2008-04-30 00:52:00

In reply to:

I assumed the fields should be the following:
Database name: sampledatabase
Username: bbeetthh
Password: ******** (the same password that allowed my access into phpMyAdmin).


Where is the "hostname" entry? wink

--rlparker


Re: Drupal Database configuration

Posted by: vicm3
Posted on: 2008-04-30 05:24:00

On the installation, down is a button that says advanced or something like that you had to click there and the host options are show, you'll see that the dbhost is localhost that need to be changed to the host you have created for the drupal db (sql.yourdomain.com for example).

Tags: database configurationdatabase namemysql databasephpmyadminhostnamecombinationswikidrupal