mycli
mycli copied to clipboard
localhost is displayed as 'none'

I accessed MariaDB through mycli, and localhost is displayed as 'none'.
Is this just default configuration? Or can I fix it?
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.

Hope this can help!