【MySQL】MySQL Client - mycli

Posted by 西维蜀黍 on 2022-04-05, Last Modified on 2023-07-18

Install

If you already know how to install python packages, then you can install it via pip:

You might need sudo on linux.

$ pip install -U mycli

or

$ brew update && brew install mycli  # Only on macOS

or

$ sudo apt-get install mycli # Only on debian or ubuntu

Usage

$ mycli --host localhost -u root -p 123456

Reference