For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > June 2004 > access denied









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author access denied
Water_foul

2004-06-26, 3:55 pm

i get this error:
Warning: Access denied for user: 'aaron.aichlmayr.net@localhost' (Using
password: YES) in
C:\Inetpub\localroot\aichlmayr. net\sites\aaron\module\runescape\runerun
ner\s
ervices.php on line 3
and the code up to line 3 is:
<?php
//Database Querys
$connection=Mysql_connect($dbHost , $dbName , $dbPassword);
----------------------------------------
i have included this in another script that sets $dbHost, $dbName and,
$dbPassword to the correct things to connect to the db
Water_foul

2004-06-26, 3:55 pm

oh... one request, no replying to sender
"Water_foul" <phpdbnews@aaron.aichlmayr.net> wrote in message
news:20040626153710.31122.qmail@pb1.pair.com...
> i get this error:
> Warning: Access denied for user: 'aaron.aichlmayr.net@localhost' (Using
> password: YES) in
>

C:\Inetpub\localroot\aichlmayr. net\sites\aaron\module\runescape\runerun
ner\s
> ervices.php on line 3
> and the code up to line 3 is:
> <?php
> //Database Querys
> $connection=Mysql_connect($dbHost , $dbName , $dbPassword);
> ----------------------------------------
> i have included this in another script that sets $dbHost, $dbName and,
> $dbPassword to the correct things to connect to the db

Hans Lellelid

2004-06-26, 3:55 pm

Water_foul wrote:

> i get this error:
> Warning: Access denied for user: 'aaron.aichlmayr.net@localhost' (Using
> password: YES) in
> C:\Inetpub\localroot\aichlmayr. net\sites\aaron\module\runescape\runerun
ner\s
> ervices.php on line 3
> and the code up to line 3 is:
> <?php
> //Database Querys
> $connection=Mysql_connect($dbHost , $dbName , $dbPassword);
> ----------------------------------------
> i have included this in another script that sets $dbHost, $dbName and,
> $dbPassword to the correct things to connect to the db


Did you actually confirm that you are able to connect using that
host/user/password from the command line? I mean, the error is pretty
frickin' explicit ... check your database credentials.

Hans
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com