使用DG4ODBC连接到Postgresql 数据库时报ORA-28500
2017-12-08 21:08
971 查看
转自:
ORA-28500: Connection From ORACLE To A Non-Oracle System Returned This Message: C (文档 ID 2325424.1)
Oracle Database - Standard Edition - Version 11.2.0.1 to 12.2.0.1 [Release 11.2 to 12.2]
Information in this document applies to any platform.
When using Database Gateway for ODBC (DG4ODBC) to connect to a Postgresql database using a Postgres ODBC connection the following error is encountered:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
c
The issue is caused by a problem with character and language settings.
Add the following to the DG4ODBC init.ora file:
HS_NLS_NCHAR=UCS2
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
ORA-28500: Connection From ORACLE To A Non-Oracle System Returned This Message: C (文档 ID 2325424.1)
APPLIES TO:
Oracle Database - Standard Edition - Version 11.2.0.1 to 12.2.0.1 [Release 11.2 to 12.2]Information in this document applies to any platform.
SYMPTOMS
When using Database Gateway for ODBC (DG4ODBC) to connect to a Postgresql database using a Postgres ODBC connection the following error is encountered:ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
c
CAUSE
The issue is caused by a problem with character and language settings.
SOLUTION
Add the following to the DG4ODBC init.ora file:HS_NLS_NCHAR=UCS2
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
相关文章推荐
- 使用sqlplus连接数据库时报"ORA-12154:TNS:could not resolve the connect identifier specified"解决办法
- 使用perl连接和操作postgresql数据库
- java连接postgreSQL数据库简单使用
- 安装完Oracle后 使用dbca创建数据库 弹出ORA-01092: ORACLE 实例终止,强制断开连接
- java使用jdbc连接postgresql数据库
- ASP.NET MVC 使用 Petapoco 微型ORM框架+NpgSql驱动连接 PostgreSQL数据库
- 使用VC6.0 连接PostgreSQL数据库
- php使用PDO扩展连接PostgreSQL对象关系数据库
- 使用Python连接postgresql数据库
- 使用统一服务名连接RAC数据库报ORA-12545错误
- Node.js 连接 postgreSQL数据库 (使用连接池pool)
- 使用PLSql连接Oracle时报错ORA-12541: TNS: 无监听程序
- ASP.NET MVC 使用 Petapoco 微型ORM框架+NpgSql驱动连接 PostgreSQL数据库
- 使用VC6.0 连接PostgreSQL数据库
- 用pl/sql连接本地数据库时报ORA-12541:TNS:无监听程序
- 远程使用pl/sql登陆数据库时,界面提示 ORA-12170: TNS: 连接超时
- 无法使用连接串连接数据库ORA-01034&ORA-27101
- 使用PLSql连接Oracle时报错ORA-12541: TNS: 无监听程序
- 解决:win7 ,64位下,vs 2008 ,oracle 数据库使用内置的web server 报ORA-12154: TNS: 无法解析指定的连接标识符
- 视频教程--ASP.NET MVC 使用 Petapoco 微型ORM框架+NpgSql驱动连接 PostgreSQL数据库