Re: PHP or MySQL problem?

From: Date: Wed, 05 Feb 2003 22:49:47 +0000
Subject: Re: PHP or MySQL problem?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134502@lists.php.net to get a copy of this message
Your answer is in the error message. You have been denied access to the database. Are you connecting to the db before you run your query? If not, php is going to try to connect with the default user/password. César Aracena wrote:
Hi all, I'm uploading a new web site and when doing some testing, I find this error: Access denied for user: 'httpd@localhost' (Using password: NO) in /home/sites/site33/web/cm/proveedores.php on line 47 when trying to save some data into a remote DB... I really don't know if this is a PHP issue or a MySQL issue but I'm sure I havn't seen this before. The error line "47" represents a mysql_query(); instruction. Any advice? Thanks in advance, ----------------------- Cesar Aracena lists@icaam.com.ar http://www.icaam.com.ar Cel: +54.299.635-6688 Tel/Fax: +54.299.477-4532 Cipolletti, Rio Negro R8324BEG Argentina --------------------------- Soluciones profesionales en Internet y Comunicaciones http://www.icaam.com.ar


« previous php.general (#134502) next »