By neno007 on
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
You need to set the correct d
You need to set the correct database password in conf.php.
--
Drupal services
My Drupal services
please search first
Searching would have brought you to http://drupal.org/node/view/3594, which lists a lot of information on this issue.
[Ber | webschuur.com]
Go to includes folder, open t
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
hostname
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.
localhost
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.
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
Try this link http://drupal.
Try this link
http://drupal.org/node/9407
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide