Re: IBM DB2 connectction problems
| From: | Helmut Tessarek | Date: | Tue, 13 Mar 2001 02:25:11 +0000 |
| Subject: | Re: IBM DB2 connectction problems | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7371@lists.php.net to get a copy of this message | ||
Hi,
It should read:
$i = odbc_connect( "sample", "db2inst1", "ibmdb2" );
Please provide more detailed information on the SQL error and SQL state.
Otherwise it is not really easy to tell, what the problem is.
ManieQ wrote:
> $i = odbc_connect ("PROTOCOL=TCPIP; SERVERNAME=jajo.tpi.pl;
> SERVICE=50002; DATABASE=SAMPLE", "db2inst1", "ibmdb2" );
>
> I receive:
>
> Warning: SQL error: , SQL state czen¦?ßÿ¿á&L@Polaczen in SQLConnect in
> /home/manieq/web/db21.php on line 5
--
--- Helmut <NoCarrier> Tessarek --- tessus@evermeet.cx ---
IBM Certified Solution Expert
Microsoft Certified Systems Engineer (MCP, MCP+I, MCSE)
Karmarschgasse 53/1/3/11, A-1100 Vienna, Austria
----------------- http://www.evermeet.cx -----------------