#19268 [Opn->Fbk]: IBM DB2 ACCESS FAIL
| From: | kalowsky@php.net | Date: | Fri, 06 Sep 2002 21:20:33 +0000 |
| Subject: | #19268 [Opn->Fbk]: IBM DB2 ACCESS FAIL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18588@lists.php.net to get a copy of this message | ||
ID: 19268
Updated by: kalowsky@php.net
Reported By: jean-paul.pires@eu.rhodia.com
-Status: Open
+Status: Feedback
Bug Type: ODBC related
Operating System: w2k sp2
PHP Version: 4.2.1
New Comment:
A) Think you can translate that Error message to english for me?
B) Can you post a full simple sample script for me to look at?
C) Care to share the ODBC section of your PHP.ini file as well?
Previous Comments:
------------------------------------------------------------------------
[2002-09-06 11:25:12] jean-paul.pires@eu.rhodia.com
Hello,
(Sorry for my bad english writting)
This script work well since php v4.04 :
//ODBC
line 45 :
$connexion_odbc = odbc_pconnect ("toto","toto","toto");
line 46 :
$selection_odbc = "select ciccli from CLIIDTP where cidann = 0 order by
ciccli";
$resultat_odbc = odbc_exec($connexion_odbc, $selection_odbc);
but now with php 4.2.1 :
Warning: SQL error: [IBM][Pilote ODBC de Client Access (32 bits)][SQL
DB2/400]Echec de liaison. COMM RC=0x5, SQL state 08S01 in SQLConnect in
maj_clients.php on line 45
So i try the odbc driver to attack db2 database with ms access and it
work well.
(http server configuration : apache 1.3 on win2k pro sp2)
So, if anyone can help me ?
I'll be very happy.
Bye.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19268&edit=1