-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysqlpump like skip-definer option #378
Comments
Hi @matthewlenz, I prefer to dump triggers and routines as it was created. During loading we can parse the CREATE statement and make some changes. We are already doing that on myloader when we have to parse the CREATE TABLE statement to remove the indexes to create the ALTER TABLE statement to add them later. |
@davidducos I was actually going to suggest that as an alternative in my original post. I think your way is superior without a doubt. Thanks for considering adding this and thanks for all the advancements in the project you've been spearheading! |
See also #84, nr 6. |
List of objects:
|
Is it closed because If indeed it only exists in |
Hi @kamazee, I based my decision on that |
@davidducos ah, my bad, I didn't mean any other databases (please just discard that part and sorry for the confusion). I meant any other tools, like just piping a dump into My points for keeping
My case, in the essence, is the following. We have a database with application configuration (it's assumed to be fairly small and portable), and due to a view in the schema, I can't just take a dump from production and load it into a preproduction environment, so I ended up grepping out |
Aha! Now I understand! You are using MyDumper as version control mechanism. Initially, I didn't understood your 1. and 2. because, I asked myself: "Why does he want multiple dumps? Why don't just use myloader with the right conf per env?". Then, after reading 3. I totally got it. |
mysqlpump supports skipping the definer on triggers and routines. This would be really nice to have in mydumper when snapshotting a db to load up for development in a different environment.
The text was updated successfully, but these errors were encountered: