access denied

From: Date: Wed, 19 Sep 2001 08:05:58 +0000
Subject: access denied
Groups: php.db 
Request: Send a blank email to php-db+get-12558@lists.php.net to get a copy of this message
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.......)??? ------------------------------------------------------------ ------------------------------------------------------------

« previous php.db (#12558) next »