hi all, I'm new to this web forums stuf and I'm trying to learn my way through drupal.

I'm running on IIS Local server, under Windows XP, you know kind of testing stuff on my pc, I'm using mySql database, and PHP 4.
I've installed drupal according to instructions, I used phpMyadmin to install the database, yet when I open my index page I get this error.

warrning: mysql_connect():access denied for user: 'drupal@localhost' (using password YES) in X:\InetPub\Root\Site\Drupal4.4.0\Includes\database.mysql.inc on line 12
access denied for user 'drupal@localhost' (using password:YES)

So can Any body help me here and tell me where I've gone wrong plz?

thank you all

Comments

killes@www.drop.org’s picture

You need to set the correct database password in conf.php.

Bèr Kessels’s picture

Searching would have brought you to http://drupal.org/node/view/3594, which lists a lot of information on this issue.

[Ber | webschuur.com]

Satinder-1’s picture

Go to includes folder, open the conf.php file and where it's written

# $db_url = "mysql://user:password@hostname/database";

provide the user name, password and database name here and then open the index page

Satinder

icicle-1’s picture

Where it says 'hostname' - should that remain as 'hostname' or should I actually put in some verson of my domain name? I've tried everything.

annie-1’s picture

Use localhost, it's the name of the host for most installations of mysql. Here's what my variables in conf.php look like, with username and password substituted of course.

$db_url = "mysql://myusername:mypassword@localhost/myDBname";

$base_url = "http://my domain name.org";

Now for the base_url, since you are running locally and not on a web server somewhere, you will want to use either localhost or the ip addy, which is usually 127.0.0.1 for localhost.
If your site is on a web server and you've got a domain name, this is where it would go.

Annie

sepeck’s picture

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide