mycli

Install command:
brew install mycli

CLI for MySQL with auto-completion and syntax highlighting

https://www.mycli.net/

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/mycli.json

Formula code: mycli.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.15.0

Depends on:

certifi 2026.7.22 Mozilla CA bundle for Python
cryptography 50.0.0 Cryptographic recipes and primitives for Python
fzf 0.74.3 Command-line fuzzy finder written in Go
libyaml 0.2.5 YAML Parser
pydantic 2.13.4 Data validation using Python type hints
python@3.14 3.14.7 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

rust 1.98.0 Safe, concurrent, practical language

Known vulnerabilities in the current version:

GHSA-v9vj-9pxv-mr2w mycli has Inadequate Encryption Strength
GHSA-pwgv-4x5q-6m9f sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before dept...
GHSA-prg7-hcfm-mfcr (high) sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Serv...
GHSA-3496-9g83-7v6x sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes
GHSA-f2ff-p2ww-7p4p sqlparse: Quadratic O(n²) DoS in group_comments

Data from Homebrew/advisory-database. Run brew vulns mycli for a live check.

Analytics:

30 days90 days365 days
Installs3,1487,84429,120
Installs (--HEAD)1635
Installs on Request3,1387,81529,068
Installs on Request (--HEAD)1635
Build Errors7