mysql utilities from stored proc or script?
Posted by:
Damon Theis
Date: September 16, 2014 08:32AM
Sounds simple, I just can figure it out or find the right docs.
I am trying to automate/save a mysqldbcopy command with params to rerun at will or on schedule to update my test environment with the latest production data.
Manually from the workbench utilities shell, I can run
mysqldbcopy \ --source=root:password@localhost:3306 \
--destination=root:password@localhost:3306
production:testing
--drop-first
how the heck do I save this or invoke it from a stored proc in the db or from a .py script file in workbench?
And what are the back slashes for?
Thank you for your help.
Subject
Views
Written By
Posted
mysql utilities from stored proc or script?
1902
September 16, 2014 08:32AM
573
September 16, 2014 10:00AM
597
September 16, 2014 10:23AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.