dbcli / mycli

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

localhost is displayed as 'none' #707

Open hwooo opened 5 years ago

hwooo commented 5 years ago

mycli

I accessed MariaDB through mycli, and localhost is displayed as 'none'. Is this just default configuration? Or can I fix it?

wjWu00 commented 3 years ago

when you just use $ sudo mycli It doesn't connect to localhost. So it shows: MySQL root@(none):Mysql>

You need to type commad $ sudo mycli -u root -h localhost Then it will connect to your localhost. 1617857340632

Hope this can help!