Dblink from Oracle 9.2 to Oracle 7.3
I have created a link from Oracle 9.2 to Oracle 7.3 without a problem. However, when I try to use it I get the error "ORA-24439: Connections to Oracle7 server are no longer supported
ORA-02063: preceding line from link_name"
Would Heterogeneous Services help in this situation?
Thanks.
klb
I suppose you could set up Heterogenous Services, have it use an ODBC connection to the 7.3.4 database (you'd need an Oracle client install of 7.3.4 - 9.0), and then the link would work. That is likely to be a pretty significant effort, though.
Is it possible for you to upgrade the 7.3.4 database or downgrade your 9.2 database to 8.1.7 or 9.0?
Justin
Similar Messages
-
DBLink From Oracle 9i server to Oracle RDB Server
Hi,
i have to take access a table which is on ORACLE RDB server from Oracle 9i server...
I have tried this many times......but not succeed. plz help me its very urgent.Hi..
What did you do...did you create a dblink...is there some error ..
To create the dblink you can use
create database link <name> connect to <username_of_remote_db> identified by <user's_password> using '(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.x.x.x)(PORT = xxxx))
(CONNECT_DATA =
(SID = remote_db_sid)
(SERVER = DEDICATED)
;Refer to link: [http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#SQLRF01205]
Anand -
Dblink from Oracle to Mysql error PLZ HELP!!!
Hi All,
I am getting the following error when i am creating a databaselink to connect from oracle 10g to mysql 5.1.
SQL> select * from ahmed_table@ahmedmysql3;
select * from ahmed_table@ahmedmysql3
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 AHMEDMYSQL3My ODBC database source name is ahmedmysql
created file initahmedmysql.ora in hs/admin contents of which are
HS_FDS_CONNECT_INFO = ahmedmysql
HS_FDS_TRACE_LEVEL = offListener.ora contents
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
hmedmysql =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rc-6799)(PORT = 1521))
(SID_NAME = ahmedmysql)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc)
)Tnsnames.ora
ahmedmysql = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST = RC-6799)(PORT = 1521)) (CONNECT_DATA = (SID = ahmedmysql)) (HS = OK))I have searched on this site no one seems to have had found a solution!
Is this a bug or am i missing something in the configuration,
appreciate your help,
regards,28545, 0000, "error diagnosed by Net8 when connecting to an agent"
// *Cause: An attempt to call an external procedure or to issue SQL
// to a non-Oracle system on a Heterogeneous Services database link
// failed at connection initialization. The error diagnosed
// by Net8 NCR software is reported separately.
// *Action: Refer to the Net8 NCRO error message. If this isn't clear,
// check connection administrative setup in tnsnames.ora
// and listener.ora for the service associated with the
// Heterogeneous Services database link being used, or with
// 'extproc_connection_data' for an external procedure call. -
Hi all,
please, can you explain me steps to create a database link from Oracle 10gR2 to DB2?Hi,
You need to install one of the Database Gateways -
11.1 Database Gateway for DRDA (DG4DRDA)
11.2 Database Gateway for DB2 (DG4DB2)
11.1 or 11.2 Database Gateway for ODBC (DG4ODBC)
After the gateway is installed and configured then you create the database link which uses the gateway to manipulate data on DB2 - select, insert, update and delete, for example -
select * from db2_table@gateway_db_link ;
The database link is created using a tnsnames.ora entry which references the gateway setup.
There is further information on the gateways available on My Oracle Support and OTN.
If you want more specific detail then let us know -
- if you have a gateway installed already and which one if so
- what version of Oracle you are using
- platform where Oracle is running
- version of DB2 to access
- platform where DB2 is running
Regards,
Mike -
How to create a DBlink from oracle database on unix to sqlserver
Hi
I need to create a database link from oracle database on solaris machine to sqlserver database.I found that the database link cannot be created from oracledatabase 10g to microsoft sqlserver.So i am planning to go for another windows server where i can pull this data from sqlserver to oracle 10g database on windows and then from windows to unix.
Can you explain me how can i create a database link from orace 10g on windows to sqlserver.HI
Thanks for your response.
But the thing is i am looking whether if u can create a database link from oracle to sqlserver from unix.If that's the case what is the driver i require and if not how can i do it ?
I am ready to create a intermediate windows server where i can pull the table temporarily and then from there to unix box.
If i can do it windows how can i achieve that.
Thanks -
How to create dblink from oracle to sqlserver
sqlserver:10.5.0.61
sqlserver 2005
windows server 2003
oracle:10.30.16.19
9.2.0.6
solaris
i installed oracle 9i transparent gateway on 10.5.0.61, and the follows are my config files :
10.5.0.61:
D:\oracle\ora92\tg4msql\admin\initvatdata.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Transparent Gateway for SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO="SERVER=10.5.0.61;DATABASE=vatdata"
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
D:\oracle\ora92\network\admin\listener.ora
# LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.5.0.61)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = vatdata)
(PROGRAM = tg4msql)
(SID_NAME = vatdata)
(ORACLE_HOME = d:\oracle\ora92)
then i create dblink on 10.30.16.19:
CREATE PUBLIC DATABASE LINK "DB_SQLVAT"
CONNECT TO "vatsfc" IDENTIFIED BY "guest"
USING '(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.5.0.61)(PORT = 1521))
(CONNECT_DATA =
(SID = vatdata)
(HS = OK)
sys@BARORA> select * from dbo.tb_result@DB_SQLVAT;
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 DB_SQLVAT
can you give me some advice? thanks very much!when run lsnrctl stat on 10.5.0.61:
C:\Documents and Settings\Administrator>lsnrctl stat
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 13-1月 -2011 12:54
:16
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
LISTENER 的 STATUS
别名 LISTENER
版本 TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
启动日期 13-1月 -2011 12:54:13
正常运行时间 0 天 0 小时 0 分 3 秒
跟踪级别 off
安全性 OFF
SNMP OFF
监听器参数文件 D:\oracle\ora92\network\admin\listener.ora
监听器日志文件 D:\oracle\ora92\network\log\listener.log
监听端点概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.5.0.61)(PORT=1521)))
服务摘要..
服务 "vatdata" 包含 1 个例程。
例程 "vatdata", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
命令执行成功 -
Can you please look into this: Dblink from Oracle to postgres
https://forums.oracle.com/message/11204905#11204905
You posted this just 3 minutes after posting in the other forum. This is essentially crossposting. The other forum is probably the more appropriate one for your question.
Patience, Grasshopper
You posted this follow-up a mere 3 minutes after posting in the other forum
These forums are not a chat line, and not paid support.
Everyone here has a job for which they are paid, and this forum is not it.
No one is responsible for monitoring it and giving a quick response.
Furthermore, it is a global forum. The person with the information you seek may very well live 20 time zones away from you and was going to bed just as you posted. He will not even see your post for several more hours.
Your original post went up in the middle of the night for half the world.
=====================
Oh, and by the way, "This is not working" is totally devoid of any actionable information. Oracle emits actual error codes for a reason. -
Oracle DB Link from Oracle to SQL Server
Dear buddies,
I am trying to create a dblink from Oracle to SQL Server.
This is my tnsnames.ora
sq =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=LOCALHOST)(PORT=1521)
(CONNECT_DATA=(SID=sq))
(HS=OK)
)This is my listener
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = sq)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_2)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)initsq.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = sq
HS_FDS_TRACE_LEVEL = OFF
# Environment variables required for the non-Oracle system
#set <envvar>=<value>I have created my System DSN for sq with the appropriate values which works fine when I tested the connection.
These 2 databases are in different servers.
This is how I created the db link in Oracle
create public database link sq
CONNECT TO XXX IDENTIFIED BY "XXX"
using 'sq'
select "Column1"
from "Table1"@'sq';The error I receive is: ORA-01729: database link name expected
When I try to recreate the database link it tells me that: ORA-02011: duplicate database link name
I hope someone could guide me.
Thanks.C:\Documents and Settings\Administrator>tnsping sq
TNS Ping Utility for 32-bit Windows: Version 10.2.0.4.0 - Production on 16-AUG-2011 14:48:40
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
C:\Documents and Settings\Administrator> -
DBLink Between Oracle 8i and Oracle 9i
Hello,
Can anyone help me with this question....
Can a you create a DBLink from Oracle 9i database to Oracle 8i database (or vice versa)? Is it supported by Oracle?
AJHi,
Yes it is supported and it works fine but there is a known bug.
If your 8i database is 8.1.6 and if you have a table with a LONG column in that database you won't be able to create a view in your 9i database that will access the LONG column of the 8.1.6 table. If you do that you will get an ORA-00600.
It is fix with 8.1.7.4.
Bye -
ERROR while connecting to Netezza Database from oracle 10g via dblink.
Gurus,
We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Server and/or port attributes are empty {HY000,NativeErr = 33}Manik wrote:
We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Server and/or port attributes are empty {HY000,NativeErr = 33}Always test ODBC client connectivity on the Oracle server to the remote and foreign database, first. Use the isql ODBC client command line interface (as the oracle or grid o/s user).
If this does not work, then Oracle HSO will also not work.
Once you have confirmed that this is working, then configure the HSO service for Oracle.
If that fails, enables ODBC client tracing for that HSO service (in the init file for that service) to see exactly what ODBC calls Oracle is making and which of these are failing. -
Hi, i'm trying to create database link from a database Oracle 11g to PostgreSQL with DG4ODBC, and unixODBC
my configured to /etc/odbc.ini
[PostgreSQL]
Description = Test to Postgres
Driver = psqlodbc
Trace = Yes
TraceFile = /tmp/sql.log
Database = danieldb
Servername =
UserName = SA
Password = password
Port = 5432
Protocol = 6.4
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
my configured to /etc/odbcinst.ini
[ODBC]
CommLog=1
Debug=1
FileUsage=1
Pooling=No
Trace=1
[psqlodbc]
Description=PostgreSQL ODBC driver
Driver=/usr/lib64/psqlodbcw.so
CommLog=1
Debug=0
FileUsage=1
my configured to /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora
HS_FDS_CONNECT_INFO = PostgreSQL
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so
set ODBCINI=/etc/odbc.ini
my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC=
(SID_NAME=PostgreSQL)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)
(PROGRAM=dg4odbc)
(ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib")
my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora
PostgreSQL=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
(CONNECT_DATA =
(SID = PostgreSQL)
(HS = OK)
i'm try to created public database link :
CREATE PUBLIC DATABASE LINK "orapos" CONNECT TO "SA" IDENTIFIED BY "password" USING 'PostgreSQL';
when i used tnsping
[root@oracle-poc admin]# tnsping PostgreSQL
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 16-MAY-2013 20:34:19
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))
OK (0 msec)
and last i try to use the database link :
SQL> select * from "tabel2"@orapos
2 ;
select * from "tabel2"@orapos
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from ORAPOS
Whats wrong with my configuration??
Thank you and best regards,
DanielMike,
yes i've downloaded the ODBC driver manager..
for HS_FDS_SHAREABLE_NAME i use /usr/lib/psqlodbc.so
and i get this error when i call the db link(orpos)
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from ORAPOS
for HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbcw.so
and i get this error when i call the db link(orpos)
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
c
and when i used isql isql to call DNS(PostgreSQL) is success
whats wrong with my config?
about PostGres ODBC did you mean postgresql-odbc-08.04.0200-1.el6.x86_64 ??
Thank you and best regards,
Daniel -
How call procedure or package from Oracle BI Publisher 10.1.3.2.1
Hi Gurus,
I need to call a procedure or package from Oracle BI Publisher 10.1.3.2.1 by passing parameters, I do it because it would be easier to fill a table as the report that asks for is too complex (8 breaks, 5 dblinks, 20 tables, etc).
I'm not using the Oracle XML. Review include the following solutions:
Re: Stored procedures and dynamic columns
Re: Is it possible to use Stored Procedures in BI Publisher GUI?
Re: PL/SQL Stored Procedure w/ XML Template?
But none of them useful for me was the level of complexity.
Best regards.Hi Vetsrini,
I write the sentence as it showed in the previous thread
select from whc_kk_v2.whc_p_kk_publisher (pv_msgerror =>: msgerror,*
pv_pro1 =>: prov_1,
pv_pro2 =>: prov_2)
run when I get the error BIP
ORA-00933: SQL command not properly ended
Show me I'm doing wrong, or who may be causing the error. I tried everything but does not leave, please your help.
Best regards -
Calling Stored procedure in Oracle 11g from Oracle forms developer 6i
We have Oracle 11g (11.1.0.7.0 ) database (64 bit) installed on Windows Server 2008.
In this database, we have stored procedure ABC(arg1) which is accesing a table in another instance through DB LINK. If we EXECUTE this procedure from SQL/TOAD. It runs successfully and generates the desired output.
If we write the contents of the stored procedure in the PROGRAM UNIT / ANY TRIGGER in FORM 6i then also, It runs successfully and generates the desired output.
It is also mentioned, that if we try to use any table in the same instance (and not through DBLINK) then it works fine.
However, if we try to call this stored procedure (which is accesing a table in another instance through DB LINK) from ORACLE FORMS 6i in WHEN-BUTTON-PRESSED trigger then the FORM BUILDER gets hanged while compiling the form developed in FORMS 6i.
Please provide a solution to this problem.
THANKS IN ADVANCE.
Hemant Singh.
Asstt. Manager(IT)
Software development team.Forms 6i was never meant to run against a 11g database, this was not tested and is also not supported.Well, that is not completely true. Developer 6i is supported against a 11g database, but only for Oracle Apps R11. That means that for most other customers (not Apps) Forms 6i will work against an 11g database. However, only Apps R11 is supported, and patches are only created specifically for Apps. We are also running Forms 6i against an 11g database without (well, minor) problems.
In this case, you need to find a solution. You can try to put the stored procedure in a package. The package body, with the reference to the remote table, will be hidden from Forms this way. -
Access MySQL from Oracle Tnsping problem.
Dears
I am trying to connect to MysqlDB from Oracle.
I have installed Oracle Gateway and ODBC diver on Linux server.
Oracle gateway was installed on same server with Oracle Database but in different home and it has a different listener.
please look at my configuration files which I have created and maintained to established connections to MySqlDB.
I think I did some mistake and seize up in it so I could not find a solution. I am trying to fix it as well but if somebody can help me it will be very nice.
Gateway version is 11.2.0.3.0 and it is on ORAHOME /oracle/11203/GTW and its listener port is 1522.
I am able to tnsping port 1522 (dg4odbc) from gateways home. Gateway configuration files are below.
####/etc/odbc.ini####
[ODBC Data Sources]
MySQL = MySQL ODBC Driver 5.2
[MySQL]
Driver = /usr/lib64/libmyodbc5a.so
DATABASE = veritabani
DESCRIPTION = MySQL ODBC 5.2 Driver
PORT = nnnn
SERVER = x.x.x.x
UID = kullanici
PWD = sifre
CHARSET = latin1
TRACEFILE = /tmp/myodbc-demodsn.trc
TRACE = OFF
####/oracle/11203/GTW/hs/admin/initdg4odbc.ora####
HS_FDS_CONNECT_INFO = MySQL
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5a.so
set ODBCINI=/etc/odbc.ini
set HOME=/home/oracle
####/oracle/11203/GTW/network/admin/listener.ora####
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4odbc)
(ORACLE_HOME=/oracle/11203/GTW)
(PROGRAM=dg4odbc)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/11203/GTW/lib)
####/oracle/11203/GTW/network/admin/tnsnames.ora####
dg4odbc =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)
(HOST = hostname)
(PORT = 1522)
(CONNECT_DATA =
(SID = dg4odbc)
(HS = OK)
Oracle Database version is 11.2.0.2.0 and Its on ORAHOME /oracle/11202/BDW and its listener port is 1521.
I am not able to tnsping port 1522 (dg4odbc) from Database Home. Database configuration file is below.
####/oracle/11202/BDW/network/admin/tnsnames.ora####
dg4odbc =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)))
(CONNECT_DATA = (SID = dg4odbc))
(HS=OK))
Also I have created a DBLINK and tried to get info from MySqlDB but it did not work as usual.
CREATE PUBLIC DATABASE LINK dg4odbc CONNECT TO "kullanici" IDENTIFIED BY "sifre" USING ’dg4odbc’;
SQL> select * from kullanici@dg4odbc;
select * from kullanici@dg4odbc
ERROR at line 1:
ora-12154 tns could not resolve the connect identifier specified
Thank you so much to everybody who reads and writes this...
Best regards,
Eren.
Edited by: BeymenAdmin on Mar 21, 2013 8:52 AMBeymenAdmin wrote:
Dears
I am trying to connect to MysqlDB from Oracle.
I have installed Oracle Gateway and ODBC diver on Linux server.
Oracle gateway was installed on same server with Oracle Database but in different home and it has a different listener.
please look at my configuration files which I have created and maintained to established connections to MySqlDB.
I think I did some mistake and seize up in it so I could not find a solution. I am trying to fix it as well but if somebody can help me it will be very nice.
Gateway version is 11.2.0.3.0 and it is on ORAHOME /oracle/11203/GTW and its listener port is 1522.
I am able to tnsping port 1522 (dg4odbc) from gateways home. Gateway configuration files are below.
####/etc/odbc.ini####
[ODBC Data Sources]
MySQL = MySQL ODBC Driver 5.2
[MySQL]
Driver = /usr/lib64/libmyodbc5a.so
DATABASE = veritabani
DESCRIPTION = MySQL ODBC 5.2 Driver
PORT = nnnn
SERVER = x.x.x.x
UID = kullanici
PWD = sifre
CHARSET = latin1
TRACEFILE = /tmp/myodbc-demodsn.trc
TRACE = OFF
####/oracle/11203/GTW/hs/admin/initdg4odbc.ora####
HS_FDS_CONNECT_INFO = MySQL
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5a.so
set ODBCINI=/etc/odbc.ini
set HOME=/home/oracle
####/oracle/11203/GTW/network/admin/listener.ora####
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4odbc)
(ORACLE_HOME=/oracle/11203/GTW)
(PROGRAM=dg4odbc)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/11203/GTW/lib)
####/oracle/11203/GTW/network/admin/tnsnames.ora####
dg4odbc =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)
(HOST = hostname)
(PORT = 1522)
(CONNECT_DATA =
(SID = dg4odbc)
(HS = OK)
Oracle Database version is 11.2.0.2.0 and Its on ORAHOME /oracle/11202/BDW and its listener port is 1521.
I am not able to tnsping port 1522 (dg4odbc) from Database Home. Database configuration file is below.
####/oracle/11202/BDW/network/admin/tnsnames.ora####
dg4odbc =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)))
(CONNECT_DATA = (SID = dg4odbc))
(HS=OK))
Also I have created a DBLINK and tried to get info from MySqlDB but it did not work as usual.
CREATE PUBLIC DATABASE LINK dg4odbc CONNECT TO "kullanici" IDENTIFIED BY "sifre" USING ’dg4odbc’;
SQL> select * from kullanici@dg4odbc;
select * from kullanici@dg4odbc
ERROR at line 1:
ora-12154 tns could not resolve the connect identifier specified
see: [url http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/] ora-12154 TNS:could not resolve the connect identifier specified
Remember that the database from which you issued the "select * from kullanici@dg4odbc;" is, at that point, acting just like any other client trying to connect to a remote database.
Thank you so much to everybody who reads and writes this...
Best regards,
Eren.
Edited by: BeymenAdmin on Mar 21, 2013 8:52 AM -
DB Link Error from Oracle to Mysql
Hi ,
I have created the dblink from oralce to mysql using note id 1320645.1
I am getting the below error while connecting to the mysql using the dblink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'user'@'xxxx.xxxx.xxxx'
(using password: YES) {HY000,NativeErr = 1045}
ORA-02063: preceding 2 lines from MYODBC5
Please help me to slove the error
Thanks in Advance
SudheerSudheer,
the error message is self explaining - your user 'user' connecting from the host @'xxxx.xxxx.xxxx' is not allowed to log into the MySQL database. To solve this issue you need to grant permissions to the user so that he can connect from any host (%) or just from that particular host where you installed the gateway.
The command to allow access from everywhere would be:
grant all on *.* TO '<user>'@'%' IDENTIFIED BY '<password>';
or just specify the IP address instead of '%' if you want to restrict it.
More details can be found in the MySQL manual:
MySQL :: MySQL 5.1 Reference Manual :: 6.2.7 Causes of Access-Denied Errors
- Klaus
Maybe you are looking for
-
Is there much of a difference between fatal1ty regular and pros?
i see theres a little bit different specs, does it make a big difference sound wise?
-
Install hanging when registering automation server
I'm tearing my hair out, as well as getting my 4rse kicked by the other half! We've had iTunes up and running on our Vista Home Premium box for a while, then it just stopped working coming up with an error. So I've tried re-installing, but 7.3 keeps
-
SQL Embedded, In-memory or whatever its called
I am a developer who uses different databases, but SQL Server is my favorite. I have a couple of small portable apps that I have been using a MS Access database to store information. I am interested in using the feature that allows you to embed a SQL
-
I need some advice here. I have an application that will be used by large groups of people. This application allows Super Administrators (set in a database) to delete a group. A group has an administrator, a supervisor and students. Since it would be
-
Show popup after user runs a standard transaction
Hi experts!, I want to show a popup when some sap users runs ORGANIZER (Transaction) one time per day. It's a information popup. A lot of thanks in advance. Best regards. djlu