mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #13] How to compare database dump FILES? #4
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @COLABORATI on GitHub (Jun 15, 2016).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/13
From what I undertstand reading the description this interesting tool can compare database schemas ony in live databases. I would like to compare schemas from database dumps that were generated with
mysqldump- is this possible?Thanks for your attention!
@jasdeepkhalsa commented on GitHub (Jun 16, 2016):
Hi @COLABORATI.
We had a similar question asked here: https://github.com/DBDiff/DBDiff/issues/3
Currently the only solution is to you get your SQL file added back into a temporary MySQL database on your laptop / machine in order to produce your migrations. You can always destroy that temporary database later :) The reason being that we can only connect to a MySQL database (at the moment) to produce migrations, and if we put in work to add this feature, behind the scenes we'd have to use a temporary database ourselves to do the migrations anyway since a file does not contain any structured data we can use to identity schema / data.