Jump to content

how to connect php with db2 on iSeries


shubhajeet

Recommended Posts


hi everybody
Please anybody help me out. I am trying to connect to db2 using module php_ibm_db2.dll. But I am getting error message
CLI 0106E SQL STATE 08003 SQL CODE -999999.

Any help will be appreciated.
the code is simple

[quote author=shubhajeet link=topic=121961.msg502319#msg502319 date=1168530158]

<?php
$conn=db2_connect('ipaddress of host','username','password');
if ($conn)
{
echo "connection succeed";
db2_close();
}
else
{
echo "connection failed";
echo "db2_conn_errormsg()";
}
?>
[/quote]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.