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