Re: PHP or MySQL problem?
| From: | Jonathan Pitcher | Date: | Wed, 05 Feb 2003 22:40:21 +0000 |
| Subject: | Re: PHP or MySQL problem? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134503@lists.php.net to get a copy of this message | ||
Cesar,
The error you are receiving is from MYSQL. It is telling you you need a password to access the database with the username you are using.
See http://www.php.net/manual/en/function.mysql-connect.php for more information regarding connection to a mysql database and how to add in a password.
Jonathan Pitcher
Capitol Federal Savings Webmaster
On Wednesday, February 5, 2003, at 03:55 PM, 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php