Re: access denied

From: Date: Wed, 19 Sep 2001 13:44:13 +0000
Subject: Re: access denied
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12569@lists.php.net to get a copy of this message
check your mysql user table make sure your login has the permission to GRANT -- Hidulf http://www.hidulf.com "Its Me" <fotna@egypt.net> wrote in message news:200109190805.BAA11065@mail17.bigmailbox.com... > 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 (#12569) next »