schematic
schematic copied to clipboard
MySQL upgrade throws stderror message
MySQL made a change in version 5.6.5 and is displaying a stderror now when the password is given on the command line: http://bugs.mysql.com/bug.php?id=66546
It seems like this breaks most of schmetatic's functionality.
Is there a better way to provide passwords in scripts?
You could use expect(1) I suppose, though that feels a bit hacky.
If there is no other way, an alternative would be to just pass that warning along and move on. It's not like the situation has changed in any way. Giving the password on the command line is just as secure/insecure as it has always been.