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]

Reply via email to