dbcli / mycli

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

mycli -u root -pd Failed to execute this command line #973

Open Eventidus opened 3 years ago

Eventidus commented 3 years ago

OS:Window10 Python:3.9 Mycli:1.24.1 image

Eventidus commented 3 years ago

Please can someone help me, thanks in advance!

Thomas-Bagnolati commented 3 years ago

I get the same problem, waiting for some solution.

Bhavesh164 commented 3 years ago

i also get the same problem. Did anyone solve that.

MarcSerretCRG commented 3 years ago

Same problem here.

Chirasha123 commented 3 years ago

Please help solve this problem,I'm also stack here mycli

fpietka commented 3 years ago

What happens is that (at least) one of your configuration file isn't in UTF-8 encoding and contains special characters. This can be if any of the loaded config files according to https://github.com/dbcli/mycli/blob/d62eefdc819a11ecdb97d93dd7ad1922d28a3795/mycli/main.py#L134-L135

It should be fixed if you change the file encoding to UTF-8 with your editor of choice.