Error SQLSTATE 08004 when trying to connect to Ingres 2.5
| From: | MR CTinte | Date: | Sun, 04 May 2003 18:18:39 +0000 |
| Subject: | Error SQLSTATE 08004 when trying to connect to Ingres 2.5 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-27510@lists.php.net to get a copy of this message | ||
Hi all
This is the problem that I am getting now when trying to connect to an
Ingres II 2.5 on Linux from PHP:
Warning: Ingres II: Server or API error: Unable to authenticate client's
user ID. in
/home/www/html/ingres_connect.php3 on line2
Warning: Ingres II:SQLSTATE: 08004 in /home/www/html/ingres_connect.php3 on
line 2
Warning: Ingres II: Unable to connect to database (prueba) in
/home/www/html/ingres_connect.php3 on line 2
Could not connect
My source code is the usual for beginners:
<?php
$link = ingres_connect ("prueba", "user_name", "passwd")
or die ("Could not connect");
print ("Connected successfully");
ingres_close ($link);
?>
I would like to know how to fix this problem. I have seen someone else who
happened a year ago more or less.
Thanks in advance
Carlos Tinte (from Spain)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 10/04/2003