#19268 [NEW]: IBM DB2 ACCESS FAIL
| From: | jean-paul dot pires at eu dot rhodia dot com | Date: | Fri, 06 Sep 2002 16:25:12 +0000 |
| Subject: | #19268 [NEW]: IBM DB2 ACCESS FAIL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18582@lists.php.net to get a copy of this message | ||
From: jean-paul.pires@eu.rhodia.com
Operating system: w2k sp2
PHP version: 4.2.1
PHP Bug Type: DBM/DBA related
Bug description: IBM DB2 ACCESS FAIL
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 bug report at http://bugs.php.net/?id=19268&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19268&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19268&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19268&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19268&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19268&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19268&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19268&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19268&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19268&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19268&r=globals