Oracle Transparent GateWay connect to MYSQL fix BUG

  今天一个朋友用Oracle透明网关连接mysql时碰到这样的错误,之前他的环境是:

网站:PHP+MYSQL5.0  HA LinuxAS3 32bit   
订单系统:LinuxAS3 32bit Oracle10g

透明网关连接完全没有问题,但是OS升级到Red Hat Enterprise Linux AS5后,原来的透明网关不可以。 主要原因是需要升级mysql-connector-odbc-3.51.27-0
[oracle@localhost ~]$ rpm -qa|grep ODBC
unixODBC-2.2.11-7.1
unixODBC-2.2.11-7.1
[oracle@localhost ~]$ rpm -qa|grep mysql
mysql-connector-odbc-3.51.27-0
mysql-connector-odbc-3.51.27-0
[oracle@localhost ~]$

朋友升级以后,报了个新问题:

SQL> select * from ysj@yaofang;     
select * from ysj@yaofang
                  *
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from YAOFANG

查了一下原因,是Oracle 10.2.0.1的一个bug

Oracle came up with a solution, from a related bug (metalink bug 5550614) - it
is to do with bigints afflicting the results of selects.

Support recommended applying patch 4547817 (to get to oracle 10.2.0.2) and 5550614 (to
fix the problem). Apparently the fix has made it into the 10.2.0.4 patchset so will be
fixed when that is released.

I've applied the patches 4547817/5550614 and can confirm that it's fixed.




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/175005/viewspace-626759/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/175005/viewspace-626759/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值