GoldenGate and Required MySQL Privileges

Hi,
Environment Details:
MySQL Version 5.1.56-log
GoldenGate Version 11.2.1.0.1
Issue:
We are replicating data from a MySQL instance containing two databases, db1 and db2. However, we are only replicating tables from db1. GoldenGate logs into the database using the user ggc which has the following MySQL grants:
GRANT USAGE ON *.* TO 'ggc'@'localhost'
GRANT SELECT ON `db1`.* TO 'ggc'@'localhost'
The extract parameter file is as follows:
EXTRACT E_LD_C
SETENV (NLS_LANG = "AMERICAN_AMERICA.AL32UTF8")
SOURCEDB ggc, USERID ggc
EXTTRAIL ./dirdat/E_LD_oc/oc
TRANLOGOPTIONS ALTLOGDEST /mysql/mysqllog/mysqlbin.index
TABLE db1.*;
After starting the extract it abends with the following message:
2013-03-19 17:58:34 ERROR OGG-00146 VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to Query Metadata for Table : db1.test_tab AND Failed Queries Are: QUERY_FAILED_CHARSET_RETRIEVAL,QUERY_FAILED_SIGNED_INFO_RETRIEVAL,
Looking at the MySQL query log one of these queries is:
select character_set_name from information_schema.columns where table_schema='db2' and table_name='other_tab' and ordinal_position=7
I suspect that GoldenGate is querying for metadata for tables it is not even replicating i.e., tables from db2, when encountering them in the binary log. Granting the following privilege resolves the issue:
GRANT SELECT ON *.* TO 'ggc'@'localhost';
However, for security reasons we only want to grant user ggc privileges to db1 not all the tables within the instance.
Any help with the following issue would gratefully received.
Thanks, Paul

My understaning is that you can't grant access to the INFORMATION_SCHEMA directly. If you grant access to a user for a table then that user can query the entries for that table in the INFORMATION_SCHEMA database. Therefore if GoldenGate is trying to access data in the INFORMATION_SCHEMA database for a table that it has no access to then it will retrieve no rows. This means that if GoldenGate is querying the INFORMATION_SCHEMA database for every table that writes to the binary log it will fallover when it encounters a table it does not have SELECT access to which to me means it must be given the privilege SELECT ANY TABLE to work.
Thanks, Paul

Similar Messages

  • Broken link on copy and paste from normal user to required upper privilege user

    Hi, 
    I've encountered an error that is probably coming from environment variables.
    When I copy %document%\something\ from a normal user to %programs% where it require administrator privilege, i'm prompted with a credential window ( so far so good ) until it prompt me with an other window that says: "i don't find %document%\something\"
    witch is normal since the administrator have different environment variable and certainly no "something" folder under his documents.  
    hope it helps, N.Satsuki.

    Hi,
    This should be privilege problem, as normal user desn't have write permission of Program files folder in C drive.
    If you doubt this is enviroment variable problem, it would be better to switch your account to Administrator account to test if it had same problem.
    Roger Lu
    TechNet Community Support

  • How to reconfigure and restart GoldenGate Replication from MySQL to Oracle after a DDL operation on the source

    I succesfully configured and performed the goldengate replication from MySQL 5.1 to Oracle XE 11g using GG 11g as per
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/11g/GGS_Sect_Config_UX_MSQ_to_UX_ORA.pdf
    After replication was successully started working I added a new column to one of the test tables TCUSTMER
    ALTER TABLE TCUSTMER ADD COLUMN ADDRESS VARCHAR(64) DEFAULT NULL;
    And inserted another row in the same table.
    INSERT INTO TCUSTMER VALUES ('CLARK', 'CLARK BOATS', 'REDWOOD',  'CA', 'Test Addresss1');
    As soon as I did that the replication broke.
    2015-04-16 17:42:44  ERROR   OGG-00146  VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Table Metadata Altered cause
    WHEN FAILED : While processing table map event in log processor
    Then I reverted the DDL change back to original
    ALTER TABLE TCUSTMER DROP COLUMN ADDRESS;
    and tried to run the replication again
    But it is not starting as before.
    What should I do to move forward with same setup.

    Hi ,
    Whenever you do a DDL change in the Source table, you have to make the same changes in the Target side also. Then recreate the Definition File, copy it to the Target side and Start the GoldenGate processes.
    1. Add the column in the Target side.
    2. Recreate the Definition File and copy it to the Target side.
    3. Recreate the Replicat process in the Target side and try to start it.
    Hope this works..!!!!!!!! Any other suggestions friends????????
    Regards,
    Veera

  • Does SSIS package execution require xp_regread and xp_instance_regread execution privileges

    Hi,
    I'm still trying to learn what privileges are required to execute packages in the SSISDB catalogue.   Our DBA requested that we REVOKE EXECUTE ON xp_instance_regread and xp_regread FROM public because it is a high vulnerability. 
    However, I noticed that once they were revoked I was getting the following error when I tried to execute any packages...
    The EXECUTE permission was denied on the object 'xp_regread', database 'mssqlsystemresource', schema 'sys'...
    Which leads to my question .. Are xp_regread and xp_instance_regread execution privileges required to be able to execute packages?
    Everywhere I look seems to point that these priviliges are required which maybe a problem for me. 
    Thanks,
    Rog  

    + 1 for Katherine
    Xiong answer, this seems more authentic and well documented.
    Right now, I have access to production environments only , so I can't test the scenario. But I have few suggestions
    IMO, even if your revoke rights sysadming or db_owner can easily access it. So, based on that I thought that you can grant rights to any specific person (may be service account) to execute this SP
    USE master
    GO
    GRANT EXECUTE ON OBJECT::master.dbo.xp_instance_regread TOServiceAccount(or Sysadmin)
    GO
    You can then, probably, able to execute it if you are running SSIS/SQL environment from that login.
    Disclaimer: This answer is just based on my assumption and should not be applied to production environment before testing.  I would still recommend you to consider Katherine
    Xiong answer.

  • Programs requiring Administrator privileges and I'm the Admin

    I use Bootcamp on my MacBook and love it. However, I've been having issues with some of my programs... like Spybot. I try to get it to immunize my computer and it does so with the warning that the immunization will not be complete due to me needing to be an Administrator and have those privileges. I did it again to make sure, then checked that I was listed as being the Administrator in the Users, which I was. The only thing I can think of is that my copy of Windows Vista is having issues since I don't have a product key for it (family member lent it to me, but she's using it too). My boyfriend suggested it might be due to it running through Bootcamp, but I wasn't sure. Do I need to reinstall Spybot? Thanks!

    If you get an error message that you do not have sufficient permissions or if you have problems with updating then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • 10.9.2 systemsetup requires administrator privileges?

    Per the update materials for 10.9.2:
    Date and Time
    Available for:  OS X Lion v10.7.5, OS X Lion Server v10.7.5,
    OS X Mountain Lion v10.8.5, OS X Mavericks 10.9 and 10.9.1
    Impact:  An unprivileged user may change the system clock
    Description:  This update changes the behavior of the systemsetup
    command to require administrator privileges to change the system
    clock.
    CVE-ID
    CVE-2014-1265
    My account is an administrator account, but now when I run the systemsetup command, I get the following error:
    MacBookAir:~ mikedonscheski$ systemsetup -listtimezones
    You need administrator access to run this tool... exiting!

    Hmmm... I'm probably a bit experienced, but the Time/Date setting looks okay to me?  Matches the time on my iPhone.  Should I be looking at something else?

  • Link to download Oracle GoldenGate 11g for MySQL

    Dear All,
    I am in search of Oracle GoldenGate 11g for MySQL. Somehow could not find it download.oracle.com and edelivery.
    If someone knows how to download it please guide me.
    Thanks, Imran

    You can download from here:
    https://edelivery.oracle.com/EPD/Search/handle_go
    I used GG on windows V32424-01 with mysql and it works fine
    Cheers

  • User requires ADMIN privilege to perform this operation.

    Hi
    I have written a procedure which creates a new workspace. The owner of the package has been granted apex_administrator_role. This works fine with SQL Developer/Plus.
    But when I try to use this procedure from my Apex page I get User requires ADMIN privilege to perform this operation.
    I understand that Apex makes a connection with APEX_PUBLIC_USER, and this can be one of the reasons of the error. But I would like to know if there is some solution:
    My code is:
          apex_instance_admin.add_workspace (
            p_workspace          => p_name,
            p_primary_schema     => p_name,
            p_additional_schemas => '');
      --p_name is passed as a parameter and workspace and primary_schema name are the sameHabib

    I think you will need to grant privleges to apex_instance_admin directly to the owner of the package.
    http://docs.oracle.com/cd/E14072_01/network.112/e10574/authorization.htm#BABFJEGJ
    The privileges of the procedure's definer must be granted directly to the user, not granted through roles.

  • Installing DBI and DBD::mysql in 10.4 Tiger, with MySQL 5.0

    After some discussion here http://discussions.apple.com/thread.jspa?threadID=546982&tstart=0
    I wanted to document what was required to get Bundle::DBI and DBD::mysql installed.
    I started off with the helpful info found on the following two pages, but I had to do more to get it working:
    http://www.truerwords.net/articles/osx/installdbdmysql.html
    http://www.gyford.com/phil/writing/2004/06/07/installingdbia.php
    Note: I am working with mysql-standard-5.0.15-osx10.4-powerpc,
    downloaded and configured according to the MySQL site instructions.
    If you are using an earlier version of MySQL, then you will need to adjust accordingly. The articles I link to above, may work for you verbatim.
    1. Download DBI 1.51 from CPAN:
    http://search.cpan.org/~hoymich/DBI-1.45-5.8.4/
    2. Unpack the file, eg: tar -xzvf DBI-1.51.tar.gz
    3. cd into the directory
    4. Type perl Makefile.PL
    5. Type make && make test
    6. sudo make install (NB: See below !)
    7. IMPORTANT: to get DBD to install, you may need to specify the location of your mysql_config file:
    perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpasswdused --testhost=localhost --mysqlconfig=/usr/local/mysql/bin/mysqlconfig
    If something goes wrong, backup by typing:
    make clean
    Another note: I granted full priveleges for the "test" user on the "test" database, which is accepting local connections only and will be removed after everything is configured.
    # now for DBD
    8. Download DBD::mysql from CPAN http://search.cpan.org/~capttofu/DBD-mysql-3.0006
    9. unpack the archive & cd into it
    10. perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpwdused --testhost=localhost
    11. make && make test
    12. sudo make install
    That's what it took, hopefully this will help others who need it, and not offend those who know more about it

    Hi David!
    I'm trying to help my incredibly frustrated boyfriend, who's trying to upgrade to Tiger on his 12" PB (1.3 MHz single processor).
    He does a lot of web design and development, so he formatted his drive as HFS+, case-sensitive, journaled, and has installed his Adobe apps on a dmg, which works great.
    BUT (and he says this is always a problem) installing DBD::mySQL is proving near-impossible! His install is failing 98% of the tests run during maketest. He thinks the problem may actually be occurring when he runs Makefile. Here's the error message he's getting, even after reading your posts:
    During Makefile.PL:
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 450.
    Do you have any idea of a direction to point him in? He's so frustrated he can't even post to the forum - language not suitable for family viewing at this time.
    Thanks!
    Natalie
    Dual 867MHz G4 MDD   Mac OS X (10.3.6)  

  • Remote Get-Service as Normal user require other privileges

    Hello,
    I my setup I have two Windows 2012 R2 servers.
    From Computer1 I do a enter-pssession  to Computer2 as a normal user. (The user is in the group Remote Management Users)
    On Computer2 I can do a get-process and it works. If I do a get-service it does not work.
    Could this be because get-service automatically adds -computer . ? and it's then a double-hop?
    So is there a trick to get it to work as a normal user?
    Cannot open Service Control Manager on computer '.'. This operation might require other privileges.
        + CategoryInfo          : NotSpecified: (:) [Get-Service], InvalidOperationException
        + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetServiceCommand

    Hi RFalken,
    I also think this should be permission issue, Please also use wmi remote access service:
    Get-WmiObject -Class WIN32_service -ComputerName computer2
    I think you would also get "access denied" error.
    I tested the script you posted, and got the same error with you, after my investigation, please follow these steps:
    To solve the wmi class permission issue, please also go through this article to troubleshoot:
    Permissions to access WMI remotely
    1)Add the user to 'Distributed DCOM Users' group on the target server
    2)Add domain test user to  "WinRMRemoteWMIUsers__"
    3)Grant both "Enable Account" & "Remote Enable" access to  Root/CIMV2 namespace
    Please also run the cmd below, which will edit a service's security descriptor.
    4)Run "sc sdset SCMANAGER D:(A;;CCLCRPRC;;;AU)(A;;CCLCRPWPRC;;;SY)(A;;KA;;;BA)S:(AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD)" in cmd.
    Refer to:
    Non-administrators cannot remotely access the Service Control Manager after you install Windows Server 2003 Service Pack 1
    Although the article above is applied to Server 2003, however, it can also work in my test with newer OS version.
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Definer and Invoker Rights Privileges

    Hi all,
    I am little confused with Definer and Invoker Rights Privileges. As per my understanding when you have the definer rights on a procedure then you don't explicitly required any privileges on the object under that procedure.
    Can anyone pls explain me about this or provide me the useful link.
    Thanks in advance.

    when you have the definer rights on a procedure then you don't explicitly required
    any privileges on the object under that procedure.Exactly. Definer rights means that you run the program as though you were the program owner.
    It's explained in more detail in the PL/SQL Developers' Guide.
    Cheers, APC

  • Installer requires Admin Privilege to run

    I'm a new user on a Macbook. Its been about 20 years since I last was on an apple. I need help, I'm trying ton install a game on my laptop. When I click on the installer to install the game a window pops up saying "installer requires Admin privilege to run" and the only option is to quit. What do I need to do to get this game installed?
    Thanks so much!!

    /Applications/Utilities/Disc Utility - a very handy tool in all sorts of situations.
    I'm most surprised that a new account with admin permissions wasn't able to perform the install I'm at a loss what might be causing that to be honest ... maybe the repair permissions on the drive will sort it out, perhaps the entire folder has had write access removed somehow. You could select the destination folder location and Get Info on it and look at the permissions settings at the bottom, does it allow any user to Write there or is it Read only I wonder ?

  • This installer requires admin privileges to run

    I'm trying to install a new Application (ViaCAD 2D/3D). I get the message "This installer requires admin privileges to run" with no option to enter admin password.
    Thing is, I am clearly the Admin user with all privs.
    Searched a lot of forums and tried a lot of ideas... but to no avail. Prior installations proceeded without error. Of course, the manufacturer support simply blamed Apple and closed the support question. Console log shows no errors.
    This one has me totally stumped (and I have 20+ years admin experience).

    Update:
    The application installed on another system running 10.4. On the offending system, I tried another Admin account, ran repair permissions from Utilities, made sure Admin had R/W privs on Apps folder, moving the .dmg file to the Applications folder, did a reboot, searched for a VidCad plist file. Out of ideas.

  • "requires admin privileges to install"

    Hi,
    I'm trying to install a game on my computer and it's not working.  I put the disc in, click on the installer, and a window pops up stating "This installer requires admin privileges to run."  I only have one user account on my computer and I have already checked that it lists me as having administrative privileges. 
    My mac has Snow Leopard and is running Mac OS X version 10.6.8
    The game is Diner Dash Party Pack by PlayFirst.
    Any thoughts on what I can do?
    Thanks!

    The developers are Gamespot.   Go to them, vta this link, and ask them for help if your problem is not covered by the FAQ section.   Beware if you downloaded it from Softinic, these people sometimes inject unwanted material into the download.
    http://www.gamespot.com/diner-dash-party-pack/

  • Installing Orchestrator Run Program Service requires administrative privileges on the target computer.

    We have a simple runbook that runs an .exe program local on a remote server.
    When I run the runbook within the Runbook Designer and the Runbook Tester it runs succesfully.
    When I run the runbook within the Orchestration Console (http://server4:82) I get the error message "Access is denied. Installing Orchestrator Run Program Service requires administrative privileges on the target computer."
    Orchestrator hierarchy:
    server1 Management Server
    server2 Runbook Designer
    server3 Runbook Server
    server4 Web Server

    Already solved it!
    Even after making the Service Account a Domain Admin it didn't work after restarting the two services on server1. But I forgot the service on server3! Apparently when you use the Web Server it runs the runbook through the Runbook Server and when you
    use Runbook Designer it runs locally within the Runbook Tester?

Maybe you are looking for