Connect to MySQL via terminal with mycli

Created: 2021-06-04 | 1 min


Quick note on how to connect to MySQL via terminal.

First option, I went to MySQL docs, found mysql command can be installed from here: https://dev.mysql.com/downloads/mysql/. The only "problem" with that is it would also install a MySQL Server in my machine, and I just wanted to have the client.

Found mycli:

A command line client for MySQL that can do auto-completion and syntax highlighting.

Followed the installation instructions, and.. connected!

Big thanks to the people involved in this excellent cli!

#Notes

Tested on: