Help w/ Installation Please
th3gh05t - September 30, 2003 - 00:09
Hi,
I have tried to install srupal 4.2.0 but I get this error whenm I first try and access the page.
Warning: mysql_connect(): Access denied for user: 'drupal@localhost' (Using password: YES) in /home/derek/www/drupal/includes/database.mysql.inc on line 12
Access denied for user: 'drupal@localhost' (Using password: YES)
Can someone please help me?
Thanks, th3gh05t

I'll try
You might want to revisit the install documentation.. but here are a couple of questions. What did you name your database? Did you update conf.php to use the right database and database login?
- Joe
Joe Lombardo | joe@familytimes.com | FamilyTimes Online Journals
Try this first
First try a basic mysql connection from PHP
create a dbTest.php in the same directory as drupal
It should contain only this (from the php.net docs):
Change
"mysql_host", "mysql_user", "mysql_password"
and
"my_database"
<?php
//From the php.net docs
$link = mysql_connect("mysql_host", "mysql_user", "mysql_password")
or die("Could not connect : " . mysql_error());
print "Connected successfully";
mysql_select_db("my_database") or die("Could not select database");
/* Performing SQL query */
$query = "SELECT * FROM system";
$result = mysql_query($query) or die("Query failed : " . mysql_error());
/* Printing results in HTML */
print "<table>\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
print "\t<tr>\n";
foreach ($line as $col_value) {
print "\t\t<td>$col_value</td>\n";
}
print "\t</tr>\n";
}
print "</table>\n";
/* Free resultset */
mysql_free_result($result);
/* Closing connection */
mysql_close($link);
?>
phpBB
Hi,
Thanks for your replies. I run a phpBB board/portal @ http://www.halo-source.com/forum
So I know that I can connect to the mySQL database.
I will check to make sure my values in conf.php are correct.
This is what I got from dbtest.php:
Connected successfullymodules/admin.module admin module 1
modules/block.module block module 1
modules/comment.module comment module 1
modules/help.module help module 1
modules/node.module node module 1
modules/page.module page module 1
modules/story.module story module 1
modules/taxonomy.module taxonomy module 1
themes/marvin/marvin.theme marvin theme Internet explorer, Netscape, Opera 1
anyone willing to help me out
anyone willing to help me out?
Yes. I am sure that all those
Yes. I am sure that all those aspects are correct.
I just don't know what is the problem.