-
Notifications
You must be signed in to change notification settings - Fork 53
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
mysqldiff does not compare (two) files as advertised #39
Comments
It turns out that it is a requirement that there is a mysql database available, so that mysqldiff can create temporary tables to allow it to do its business. Please would you update the usage() and POD to make this clear(er). Specifically, that mysqldiff requires access to a working mysqld, if necessary by using the user/password etc arguments to access the database. Maybe a more informative message if no database is available could help. |
Hello, in fact I think you are talking about mysql-utilities tools and not related to this project. |
Agree with Koopman, mysqldiff does seem to require a real database to be available in order to compare two files. |
Hello, any update about receive a file (dump) as input? it is possible? if yes, how? |
I figured out how to pass a file (dump) as input for mysqldiff, you need to create an user (same user of the terminal that you are executing mysqldiff) on mysql without password, because the command will create a temporary table as described in man:
|
It appears that mysqldiff no longer / doesn't compare two mysqldump files as advertised in the POD. eg:
mysqldiff a.sql b.sql
where a.sql could be a.mysql and similar for b.
It produces this error:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
mysqldump failed. Exit status: 2:
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) when trying to connect
The text was updated successfully, but these errors were encountered: