shubhajeet Posted January 11, 2007 Share Posted January 11, 2007 hi everybodyPlease 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. Link to comment https://forums.phpfreaks.com/topic/33764-how-to-connect-php-with-db2-on-iseries/ Share on other sites More sharing options...
trq Posted January 11, 2007 Share Posted January 11, 2007 Can we see some code? That actually looks like it might be a db2 error, its not php anyways. (Ive never used db2) Link to comment https://forums.phpfreaks.com/topic/33764-how-to-connect-php-with-db2-on-iseries/#findComment-158323 Share on other sites More sharing options...
shubhajeet Posted January 11, 2007 Author Share Posted January 11, 2007 hi everybodyPlease 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] Link to comment https://forums.phpfreaks.com/topic/33764-how-to-connect-php-with-db2-on-iseries/#findComment-158330 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.