dbcli / mycli

A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

Home Page:http://mycli.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logfile -l option not working with -e option

adriesponpo opened this issue · comments

Hi,

In the man I read:

-l, --logfile FILENAME Log every query and its results to a file.

But if I run:

mycli -v -h thehost -P theport-u theuser -p thepassword -e "thecommand" --logfile result.log -t

result.log is empty, while I was expecting to find the outpot of the command passed in -e

Is this the wanted behaviour?

Thanks.

Got the same problem, I use shell redirection as workaround.

Can you please write an example here? Thanks.