connections hs Oracle to mysql without passthrough 'use the schema' command

Oracle 11.2

create a connection of hs to log in as root to mysql.

Start receiving

in mysql create a schema of 'metric '.

create a vw_backups of view under "settings" in looking at mysql.backup_history

create a "mysql_metrics" db link to mysql using the metric schema

CREATE THE DATABASE LINK "MYSQL_METRICS".

CONNECT to "metric".

IDENTIFIED BY < PWD >

With the HELP of 'mysql ';

in oracle

Select * from 'vw_backups"@mysql_metrics '.

Select * from 'vw_backups"@mysql_metrics '.

*

ERROR on line 1:

ORA-00942: table or view does not exist

[MySQL] [Driver ODBC 5.2.a] [mysqld - 5.5.28 - log] Table 'mysql.vw_backups' doesn't exist not {42 S 02, NativeErr = 1146}

ORA-02063: preceding 2 lines of MYSQL_METRICS

OR

Select * from 'metrics.vw_backups"@mysql_metrics '.

*

ERROR on line 1:

ORA-00942: table or view does not exist

[MySQL] [Driver ODBC 5.2.a] [mysqld - 5.5.28 - log] Table 'mysql.metrics.vw_backups' doesn't exist not {42 S 02, NativeErr = 1146}

ORA-02063: preceding 2 lines of MYSQL_METRICS

This looks to my like his or by default in the schema of mysql root.  However, we can make it work by issuing the command use schema via passthrough

Select DBMS_HS_PASSTHROUGH. EXECUTE_IMMEDIATE@MYSQL_metrics ("metrics of USE') of double;

my selection now works.

How can I get my application to work without this passthrough command?  Im sure Ive done this before, without having to do

replied.  My necessary odbc.ini metric schema not root.

Tags: Database

Similar Questions

  • I get a message: to use the 'java' command line tool, you must install a JDK.  I tried 10 times to install without success.  Help, please.

    I get a message: to use the 'java' command line tool, you must install a JDK.  I tried 10 times to install without success.  Help, please.

    You probably have some of the older than the needs/desires software legacy Java installed.

    Please see these sons of community message:

    After the installation of El Capitan, I get the message: to use the 'java' command line tool, you must install a JDK

    Just found this last Java does not work with El Capitan

    This is the Apple link to the legacy version of Java 6.

    Download Java for OS X 2015-001

    First of all, I would like to try to identify what application generated the next message and update (delete) this request as the case may be. If you need to run Java then, as the Apple Support page says it's certainly preferable that your installation of Java entirely up-to-date with the Oracle's Java course. If you can get without Java, you should install it not - like the Flash, it should not be installed unless you have no choice.

  • Can I connect my WiiU to my iMac and use the iMac is a screen to play games?

    Can I connect my WiiU to my iMac and use the iMac as a screen to play games WiiU on it?

    N °

  • How can I configure my Internet XP connection so that it will automatically connect to my WiFi (wireless) without asking me the password whenever I connect?

    How can I configure my Internet XP connection so that it will automatically connect to my WiFi (wireless) without asking me the password whenever I connect?

    original title: automatic Wifi connection

    Hello

    By default, Windows XP attempts to connect to networks without wires in the following order:

    1. Available networks that are in the list of network preferred (by order of registration)
    2. Preferred networks in the list proposed (by order of registration)
    3. Other networks according to selected advanced settings

    Check out these articles and check if that helps:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/wireless_networking_overview.mspx?mfr=true

    To connect to an available wireless network

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/wlan_client_connect.mspx?mfr=true

    To set up automatic wireless network configuration

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/wlan_client_configure.mspx?mfr=true

     

    5 steps: how to set up your network wireless home

    http://www.Microsoft.com/athome/organization/wirelesssetup.aspx

  • graphic execution using the unix command

    I'm new to endeca3.1

    is there an available way to run the chart using the unix command?

    How can I plan the graph in the cron tab?

    Take a look at the Guide to the Integrator ETL server (Server CloverETL), Chapter 6, Scheduling and also chapter 14 on the Simple HTTP API.  This should allow you to plan or call graphical ETL published to the server.

    http://docs.Oracle.com/CD/E40518_01/Integrator.311/IntegratorServerGuide.PDF

  • creation of database using the SQL command * more

    Hello

    This isn't a matter of urgency.

    I learn the Oracle DBA. I have installed Oracle 9.2 in my windows system. And I'm trying to create a database using the SQL command.

    OracleVersion: 9.2
    Windows XP operating system

    CREATE DATABASE suri
    USER SYS identified by manager
    USER system identified by surendra
    LOGFILE GROUP 1 ('F:\Oracle\oradata\suri\redo01.log') SIZE 100M,
            GROUP 2 ('F:\Oracle\oradata\suri\redo02.log') SIZE 100M,
            GROUP 3 ('F:\Oracle\oradata\suri\redo03.log') SIZE 100M
       MAXLOGFILES 5
       MAXLOGMEMBERS 5
       MAXLOGHISTORY 1
       MAXDATAFILES 100
       MAXINSTANCES 1
       CHARACTER SET US7ASCII
       NATIONAL CHARACTER SET AL16UTF16
    DATAFILE 'F:\Oracle\oradata\suri\system01.dbf' size 200M EXTENT MANAGEMENT LOCAL
    UNDO tablespace undots datafile 'F:\Oracle\oradata\suri\undots01.dbf' size 200M
    DEFAULT TEMPORARY TABLESPACE tempts1 DATAFILE 'F:\Oracle\oradata\suri\temp01.dbf' SIZE 100M EXTENT MANAGEMENT LOCAL
    I get the error like below when executing the CREATE DATABASE command.

    ERROR at line 16:
    ORA-25139: invalid option for CREATE TEMPORARY TABLESPACE
    I have validated the syntax but not able to find where is the error.

    Please let me know if you need more details.

    Thanks in advance for your help.


    Kind regards
    Suri

    OracleVersion: 9.2

    Why a so old version (and desupported)? In any case...

    TEMPORARY TABLESPACE tempts1 DATAFILE 'F:\Oracle\oradata\suri\temp01.dbf' SIZE 100 M EXTENT MANAGEMENT LOCAL default

    .. try change DATAFILE with TEMPFILE.

  • How to return multiple images using the batch command

    With the help of Fireworks 8.

    I have a document with more than 200 executives. In the "Command"-> "Batch commands" menu I have the possibility of rotation and or multiple or individual images blur.

    What I would really like to do is to return all 200 images horizontally, but there is no option to do this at the same time.

    Or is it?

    Tell me that I'm not stuck with the only option of failover each picture individually.

    I have knocked down an image and recorded my actions as a command, but this "Flip" command could not be applied to several frames.

    Help out me.

    Thanx.

    You will need to use the feature to peel the onion of the Panel frames, as
    Alex said.

    Go to the control panel frames. Assign to all managers of onion (the box on the)
    left side of each image - click on the Executive in the area of skin of onion,
    Then click on the lower frame. You will see a line connecting all the
    frames) then click and drag on your entire canvas area to select all
    executives. If you have saved the command, you will find at the bottom of
    the menu of commands.

    This does not work, I just did.

    --
    Jim Babbage-. : Community MX:. &. : Adobe Community Expert:.
    Extend the knowledge, every day
    http://www.communityMX.com/
    CommunityMX - free resources:
    http://www.communitymx.com/free.cfm
    ---
    . : Fireworks adobe community expert:.
    News://forums.Macromedia.com/Macromedia.Fireworks
    News://forums.Macromedia.com/Macromedia.Dreamweaver

    CashComm wrote:
    >

    Quote:
    EDIT > TRANSFORM > FLIP HORIZONTAL. Do it once, then go to history
    > Panel and save a command customized. You have access to the
    > batch operations.
    > However this will affect only the first image of the top layer unless
    > other images or layers are selected manually.
    >


    > Thanks for your response Jim. I did everything as you described. I chose fram 1,.
    > so I chose the layer in the fram in the layers panel. I spilled usig
    > CHANGE it, TRANSFORM menu. In the history panel, I saved this command as
    > "FLIP".
    > I have selected 2-10 images, hold down the SHIFT key. Then I went to the
    > Menu command and selected my "FLIP" command and received an error message telling me "
    > that it could not apply.
    > I tried to find out where my Flip order is registered thinking that I'm going in
    > Explorer and drag it to the folder of command Batch that I could use it. But I have
    > could not find my FLIP order, even if it works perfectly if I'm changing
    > fram one at a time and only then if I select the layer in this context first.
    >
    > Apparently recorded commands do not work on several images.
    >
    > So I'm in a situation where I have to use the flip command or CHANGE-->
    > TRANSFORM caraa command on each fram individually.
    >
    > It's frustrating.
    >

  • Control mouse using the voice command

    Hey...

    I'm doing project control of mouse by simple voice command and also the click of mouse using the voice command action...

    I have problem to compare my order with the standard command...

    Please help how I can make this comparison and produce output...

    Ginelle

    I would like to start by this library. I found this a long time ago, but it would allow you to build what you need

  • Use the same command

    Hello

    My VI look like her:

    I would like to re - use the same command in my "everything".

    I have several cases and I don't want to create several command text.

    If someone kown one travel, please tell me how.

    Next

    Hello

    I may not be correctly undestand your question, but you can use a local variable for what you're trying to make...

  • Cannot use the 'MDGS' command in Windows 7

    original title: need help with a Comand prompt

    Hi, I need help with a problem in the command prompt. Whenever I try to use the "msg" command, it displays an error indicating it is unavailable this command has been changed?

    MSG is not a command that is available in Windows 7.  You can get a list of available commands by typing help at the command line, or

    help > C:\Users\YourUserName\Desktop\Windows7DOSCommands.txt

    to put the list in a text file on your desktop

  • Trojan: Win32 / Sysdef - fake. How do I restore office files, etc. by using the attrib command? Thank you

    I worked with the Microsoft Support to discover some hidden files. The tech told me that the files are still there, just hidden. He used the attrib command to discover some of the files. The tech said the remaining files must be made manually, how?

    How to find the files? My office is still hidden. I have bookmarks and word files.

    Thank you

    See Steve Cochran's response, dated June 2, 2011 in this thread: http://answers.microsoft.com/en-us/windows/forum/windows_vista-security/how-do-i-recover-windows-files-from-the-start-menu/96d70458-4fb4-403f-ac96-e88f5b6ffec4

    See the instructions for removing the difficulty system in the following link: http://www.bleepingcomputer.com/virus-removal/remove-system-fix which includes a presentation about the hidden files and folders.

    Are you sure that you have more malware on the computer?  Have you run everything on scanners such as Malwarebytes or Superantispyware?

  • Create a new folder or change the name of a folder on the desktop does not display until I use the refresh command

    After changing the name of a folder or a file on the desktop or by creating a new folder (and then hit enter), the folder or the text file doesn't change - until I use the Refresh command. Then, the text shows correctly and the movements of folder or a file in a place open to the top left of the screen. Before using "Refresh" the folder or the file will not open. When I save a file on the desktop is not visible until the 'Refresh' is used. Sometimes, but not always the same behavior occurs in other folders as well.  I use Win XP SP3. Can someone please shed some light on this?

    Hello

    ·        Since when are you facing this problem?

    ·        Remember to make changes to the system?

    ·

    Method 1:

    I suggest you check in safe mode. Follow the steps mentioned below.

    a. restart the computer and keep tapping F8 until you reach the start menu.

    b. click on safe mode from the list and press ENTER.

    Check if the problem persists.

    Method 2:

    I suggest you to scan your system for viruses and malware using a care Microsoft and Microsoft security essentials. Check the links below.

    http://OneCare.live.com/site/en-us/default.htm

    http://www.Microsoft.com/security_essentials/

    Method 3:

    Create a new user account and check if the problem persists.

    How to create and configure user accounts in Windows XP

    http://support.Microsoft.com/kb/279783

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • When I get an email, according to windowsmail with attachments, I can't file attachments by using the file command menu

    original title: impossible to file attachments in mail

    Hello; I'm with family Vista premium and windows mail as a messaging system. I was with IE8, and now I've migrated to IE9.

    When I get an email, under windowsmail with attachments, I can't file attachments by using the file command menu. This option is blocked. Under windows mail, I went to tools, options, security and made sure that: Let not the attachments which are unsecured... box be deselected. It makes no difference, and I still can't save attachment like this; I CAN SAVE BY CLICKING and opening the attachment and save it but it is not satisfactory that I can't save the attachment by using the file command menu.

    Can you help me please?

    IE9 is certainly the culprit and there is more questions. I know that some MVPs have contacted their MS threads about it and even received no answer.

    My guess is that MS will not address this issue. Do not forget that the development team of Windows Mail is dissolved by the MS in June 2006. (Yes, while Vista was still in beta). I seriously doubt they care.

  • How to use the MSG command

    Hi all

    I want to use the MSG command send message from my computer to other computers on a network. We work in windows 7 and I used the following syntax:

    MSG * / server IP: address 'Message '.

    but the message back to my computer even if I use the IP address of another computer

    Thank you

    Hi Michael,

    Advanced networking issues are supported in the TechNet Forums. I suggest you send the request in the TechNet forums.
    http://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itpronetworking

    Hope this information helps.

  • How can I prevent the access denied message when you use the shutdown command?

    I use shutdown /m \\computername/s

    I have "Access denied (5)" as an answer.
    I am admin on all my computers. Same username and password on each of them.
    How can I get this shutdown command to work remotely, so I can't access every computer command prompt via Remote Desktop?
    How can I prevent the access denied message when you use the shutdown command?

    Hello

    I suggest you to report this issue in TechNet Forums for Windows 7 networks: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/threads

    Thank you.

Maybe you are looking for

  • No button 'delete' on any plugin. 'Never activate' plugins still work after a reboot.

    Specifically want the opportunity to use foxit or acrobat, but even after making "never activate", then by restarting, foxit opens one right pdf, no questions asked. Try "refresh firefox," but no dice. Thank you!Mark

  • Tecra A2: Nothing appears on the projector screen

    Model: Toshiba Tecra A2 Problem: Laptop is wired to a projector using the VGA port on the back of the laptop. When we try to playing a DVD or mpg video on the laptop the video play as usual on the laptop, but nothing appears on the display of the pro

  • BUG: Large floating point numbers convert the wrong integer

    Hello When you use the 'balls' conversion to convert integers to SGL, DBL and EXT there are certain values that convert evil. An example is the 9223370937343148030 integer that can be represented exactly as a SGL (and therefore exactly as DBL and EXT

  • 0x4b8 error code.

    I can not install IIS from Add and remove programs icon in Control Panel. You will be asked to insert the installation cd or specify another folder to copy from. Examination of the I386 folder, I discovered that all the files, it cannot locate are ac

  • mysqld.exe stopped working and was closed

    Whenmy computer starts, I get and error message "mysqld.exe stopped working and was closed". What is the solution?