dbcli / mycli

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

Got `1064 FromClause` error when try to connect with mycli #639

Open hiberabyss opened 6 years ago

hiberabyss commented 6 years ago

When I try to connect to a mysql server with mycli, following error occured:

(1064, u'FromClause is NULL')

While use mysql with the same arguments, there was no error.

My mycli version is Version: 1.17.0 and mysql version is mysql Ver 15.1 Distrib 5.5.50-MariaDB, for Linux (x86_64) using readline 5.1.

Thanks!

meeuw commented 6 years ago

I'm I've tried to reproduce this using mysql 5.5 from docker but that seems to work. Could you please give us some more details how you installed mycli? If you're using pip, could you please try pip install mycli --upgrade and if that doesn't work post your pip freeze output?