schematic icon indicating copy to clipboard operation
schematic copied to clipboard

MySQL upgrade throws stderror message

Open atopal opened this issue 11 years ago • 3 comments

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.

atopal avatar May 29 '13 14:05 atopal

Is there a better way to provide passwords in scripts?

jbalogh avatar May 29 '13 17:05 jbalogh

You could use expect(1) I suppose, though that feels a bit hacky.

fwenzel avatar May 29 '13 17:05 fwenzel

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.

atopal avatar May 29 '13 20:05 atopal