RE: [PHP-DB] IBM DB2 connectction problems
| From: | Chris Book | Date: | Tue, 13 Mar 2001 14:48:16 +0000 |
| Subject: | RE: [PHP-DB] IBM DB2 connectction problems | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7398@lists.php.net to get a copy of this message | ||
If you're running off a unix platform, did you bind your database to CLI?
I'm assuming you're trying to connect with CLI and not ODBC (ie you compiled
with --with-ibm-db2)
Chris
-----Original Message-----
From: ManieQ [mailto:manieq@idea.net.pl]
Sent: Tuesday, March 13, 2001 7:07 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] IBM DB2 connectction problems
hello,
> $i = odbc_connect( "sample", "db2inst1", "ibmdb2" );
I changed, but got same (= none) result.
> Please provide more detailed information on the SQL error and SQL state.
> Otherwise it is not really easy to tell, what the problem is.
Well, as I posted, my SQL error is null and state is random/accidental
string.
I wonder if it is a version problem (I use db2 v7.1 - perhaps some api
changes
were made in this release?).
ManieQ