[MDEV-9070] Access to MariaDB table from Oracle returns ORA-02085: database link <name> connects to HO.WORLD Created: 2015-11-02 Updated: 2015-11-09 Resolved: 2015-11-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0 |
| Fix Version/s: | 10.0.20 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andy Ferretti | Assignee: | Lawrin Novitsky |
| Resolution: | Not a Bug | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Server version: 10.0.20-MariaDB-log MariaDB Server |
||
| Description |
|
See the following. This is using Oracle Gateway to ODBC to access MariaDB.
Database link created.
|
| Comments |
| Comment by Elena Stepanova [ 2015-11-05 ] | ||||||||||||||||||||||||||
|
Could you please clarify why you consider it a MariaDB problem? https://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:4406709207206 | ||||||||||||||||||||||||||
| Comment by Andy Ferretti [ 2015-11-05 ] | ||||||||||||||||||||||||||
|
We prefer to run Oracle with GLOBAL_NAMES=true. The question is whether a non-oracle database can support GLOBAL_NAMES. I'll be working with other products to see if this is possible. | ||||||||||||||||||||||||||
| Comment by Lawrin Novitsky [ 2015-11-05 ] | ||||||||||||||||||||||||||
|
Andy Ferretti, What ODBC connector do you use for the link? Ours or MySQL's? I would start from looking into ODBC trace to see if there are any errors there. If there is a problem here - most probably it is in the ODBC connector. Or in the database link configuration. | ||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2015-11-06 ] | ||||||||||||||||||||||||||
|
Is test1 the table name in MariaDB? Where do you specify what database (in MariaDB) you connect to? What is HO.WORLD? | ||||||||||||||||||||||||||
| Comment by Andy Ferretti [ 2015-11-06 ] | ||||||||||||||||||||||||||
|
Yes, test1 is a table in MariaDB.
The database name is defined in the ODBC connection to MySQL:
This is linked to the Oracle Gateway to ODBC
I believe that the HO.WORLD is a domain. My domain on the Oracle side is db.att.com. I believe that the error "ORA-02085: database link ZLX70604.DB.ATT.COM connects to HO.WORLD" is saying that my global name is ZLX70604.DB.ATT.COM, but the target global name is ZLX70604.HO.WORLD. | ||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-11-08 ] | ||||||||||||||||||||||||||
|
Lawrin, would you mind taking this to monitor further findings? | ||||||||||||||||||||||||||
| Comment by Lawrin Novitsky [ 2015-11-08 ] | ||||||||||||||||||||||||||
|
Andy Ferretti, https://community.oracle.com/message/1444436 - probably most relevant I guess the idea is change default domain name. Where to do that - I am not sure. On links I gave you people refer to old oracle versions I am closing the report for now |