[root@kvm6 ~]# mycli -uroot -p123qwe mysql (2003, "Can't connect to MySQL server on 'localhost' ([Errno 2] No such file or directory)") Failed to connect by socket, retrying over TCP/IP mysql 5.5.49 mycli 1.19.0 Chat: https://gitter.im/dbcli/mycli Mail: https://groups.google.com/forum/#!forum/mycli-users Home: http://mycli.net Thanks to the contributor - ushuz mysql root@localhost:mysql> exit Goodbye!
[root@kvm6 ~]# mycli -uroot -S /var/lib/mysql/mysql.sock -p123qwe mysql mysql 5.5.49 mycli 1.19.0 Chat: https://gitter.im/dbcli/mycli Mail: https://groups.google.com/forum/#!forum/mycli-users Home: http://mycli.net Thanks to the contributor - Darik Gamble mysql root@localhost:mysql>
mysql root@localhost:mysql> show AUTHORS
AUTHORS
BINARY LOGS
BINLOG EVENTS
CHARACTER SET
COLLATION
COLUMNS
mysql root@localhost:mysql> show DATABASES;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
+--------------------+
3 rows in set
Time: 0.024s
mysql root@localhost:mysql> exit
Goodbye!
[F3] Multiline: OFF Right-arrow to complete suggestion