How To Install Mycli In Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS?
Install mycli
-
Debian
apt-get install mycli
Click to copy -
Ubuntu
apt-get install mycli
Click to copy -
Kali Linux
apt-get install mycli
Click to copy -
Fedora
dnf install mycli
Click to copy -
Raspbian
apt-get install mycli
Click to copy -
macOS
brew install mycli
Click to copy
A CLI for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting.
How to use mycli?
Below are few example commands for mycli that you can use in the terminal.
Connect to a database with the currently logged in user:mycli database_name
Click to copyConnect to a database with the specified user:mycli -u user database_name
Click to copyConnect to a database on the specified host with the specified user:mycli -u user -h host database_name
Click to copy
Installation of latest mycli command is available for Debian, Ubuntu, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2023 latest package from the repository and install it in your computer/server.