RE: [PHP] Access denied for user

From: Date: Thu, 06 Dec 2001 11:29:00 +0000
Subject: RE: [PHP] Access denied for user
Groups: php.general 
Request: Send a blank email to php-general+get-76861@lists.php.net to get a copy of this message
I would hazard a guess that you have supplied a username/password/host combination that isn't valid. Check in the mysql.user table, and check that there is an entry there for the user and host. Thepassword should be encrypted so you won't know if its what you're typing, but you should be able to alter this to something else if you think it might be wrong. One other thing worth noting, is that MySQL only picks up changes to user's and user permissions when either the server process is restarted, or you instruct it to "flush privileges". If this user has just been added then maybe something like this is your problem HTH Richy -----Original Message----- From: josep [SMTP:j.salord@publicom1010.com] Sent: 06 December 2001 11:22 To: mysql@lists.mysql.com Cc: php-general@lists.php.net Subject: [PHP] Access denied for user I get the following message when trying to view a php page Warning: Access denied for user: 'jupshoes@localhost' (Using password: YES) in /home/jupshoes/public_html/guest/index.php on line 27 Unable to connect to SQL server What is going wrong Josep -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#76861) next »