[PHP-DB] Re: access denied

2004-06-26 Thread water_foul
oh... one request, no replying to sender
Water_foul [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 i get this error:
 Warning: Access denied for user: '[EMAIL PROTECTED]' (Using
 password: YES) in

C:\Inetpub\localroot\aichlmayr.net\sites\aaron\module\runescape\runerunner\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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: access denied

2004-06-26 Thread Hans Lellelid
Water_foul wrote:
i get this error:
Warning: Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES) in
C:\Inetpub\localroot\aichlmayr.net\sites\aaron\module\runescape\runerunner\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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Re: access denied

2001-09-19 Thread Hidulf

check your mysql user table
make sure your login has the permission to GRANT

--
Hidulf
http://www.hidulf.com
Its Me [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Warning: MySQL Connection Failed: Access denied for user:
'rehab@localhost' (Using password: YES) in
/home/sites/site92/web/mall/confirmregistration.php on line 14

 Error connecting to host localhost, by user rehab


 should i use this:
 GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON mall.*
TO rehab@localhost
IDENTIFIED BY 'mall';
 
 or what???
 and how should i write this grant statment???
 just put it there or like:
 mysql_query(grant select...)???



 
 



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]