dbcli / mycli

A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.
http://mycli.net
Other
11.42k stars 661 forks source link

Prompt for password if lc-messages are not set to en_US #1050

Open ByCzech opened 2 years ago

ByCzech commented 2 years ago

mycli don't promt for needed password, if lc-messages are set to other language than english. In #7 issue (https://github.com/dbcli/mycli/issues/7), is patch, that solve this only for english language (https://github.com/dbcli/mycli/commit/0ec133cbc03264fc92e06c7f5baaf4a415cd7eee#diff-8e9c55cacc296c33014d775f5deffcb0aafeac0e0026ffebb9acb60911becc25R129). If I set lc-messages to i.e. cs_CZ on server, then isn't any way to force mycli to prompt for password. Original mysql client work well, because I can force prompting it for password by -p switch. May mycli can copy this behavior or can add other switch, for force show password prompt?