garbage in odbc_connect error
| From: | Vandana Ponnuru | Date: | Tue, 19 Jul 2005 07:25:17 +0000 |
| Subject: | garbage in odbc_connect error | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-39956@lists.php.net to get a copy of this message | ||
Hi all,
I have PHP-4.3.10 and Apache-2.0 running on a Redhat 9 machine. I am
connecting to DB2 using the odbc API. I have different applications running
connecting to different databases and the applications were all running
perfectly fine. But now, odbc_connect fails with some garbage in the SQL
error code (error code pasted below), when connecting to one particular
database. (Connections to other databases are still working fine).
Connecting to the database directly (without using PHP, from the DB2 command
prompt) does not give any errors, though. Since the error messages are not
readable, I am not able to go further on this. Please advice as to how I
should proceed.
Warning: odbc_connect(): SQL error: |U', SQL state ýÿÿÿA in SQLConnect in
/var/www/html/fvt/functions.php on line 87
Thanks.