- 论坛徽章:
- 0
|
按照http://www-106.ibm.com/developerworks/db2/library/techarticle/scott/0614_scott.html文章所说,已经修改apachretl 文件,设置了环境变量,可是在使用php 连接db2 8.1时还是出现下面的错误:
第一次运行脚本出现错误:
Warning: odbc_connect(): SQL error: |&KA, SQL state &ÏDÑÄÐ&&&&&&&&&&&&&M"@P93@&Ç&& in SQLConnect in ...
Warning: odbc_errormsg(): supplied argument is not a valid ODBC-Link resource in
第二次在运行脚本则得到:
Warning: odbc_connect(): SQL error: [IBM][CLI Driver] SQLSTATE=58004, SQL state 58004 in SQLConnect in
Warning: odbc_errormsg(): supplied argument is not a valid ODBC-Link resource in
那位有解决办法?多谢! |
|