🍺 BREW Explorer

← all formulae

mysql-client

brew install mysql-client v9.6.0 GPL-2.0-only WITH Universal-FOSS-exception-1.0 keg-only

MySQL client libraries and command-line tools for connecting to MySQL/MariaDB servers.

Why you might care

Install this keg-only formula when you need mysql client binaries (mysql, mysqldump, etc.) but already have the full MySQL server installed, or when you want client tools without the server. It provides the same client interface as the main mysql formula but avoids conflicts.

Categories

Alternatives

mysql mariadb postgresql-client
7.5k
30-day installs · #437
23.3k
90-day · #471
118.3k
365-day · #377
12.3k
★ GitHub stars · updated 2d ago

Runtime dependencies

Build dependencies

Links

Keg-only reason

it conflicts with mysql (which contains client libraries)

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [
    "mysql-client@9.6"
  ],
  "alternatives": [
    "mysql",
    "mariadb",
    "postgresql-client"
  ],
  "build_dependencies": [
    "bison",
    "cmake",
    "pkgconf"
  ],
  "categories": [
    "database-client"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "libfido2",
    "openssl@3",
    "zlib-ng-compat",
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Open source relational database management system",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:52+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "mysql-client",
  "github_default_branch": "trunk",
  "github_last_commit_at": "2026-06-18T12:42:19Z",
  "github_readme_excerpt": "Copyright (c) 2000, 2026, Oracle and/or its affiliates.\n\nThis is a release of MySQL, an SQL database server.\n\nLicense information can be found in the LICENSE file.\n\nIn test packages where this file is renamed README-test, the license\nfile is renamed LICENSE-test.\n\nThis distribution may include materials developed by third parties.\nFor license and attribution notices for these materials,\nplease refer to the LICENSE file.\n\nFor further information on MySQL or additional documentation, visit\n  http://dev.mysql.com/doc/\n\nFor additional downloads and the source of MySQL, visit\n  http://dev.mysql.com/downloads/\n\nMySQL is brought to you by the MySQL team at Oracle.\n",
  "github_repo": "mysql/mysql-server",
  "github_stars": 12304,
  "github_topics": [],
  "homepage": "https://github.com/mysql/mysql-server",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 7516,
  "installs_365d": 118290,
  "installs_90d": 23274,
  "keg_only": 1,
  "keg_only_reason": "it conflicts with mysql (which contains client libraries)",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-only WITH Universal-FOSS-exception-1.0",
  "llm_generated_at": "2026-06-20T23:44:53+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "mysql-client",
  "oldnames": [
    "mysql-connector-c"
  ],
  "one_liner": "MySQL client libraries and command-line tools for connecting to MySQL/MariaDB servers.",
  "optional_dependencies": [],
  "rank_30d": 437,
  "rank_365d": 377,
  "rank_90d": 471,
  "raw_hash": "65b89792ee5b5861",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/m/mysql-client.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libedit"
  ],
  "version_head": null,
  "version_stable": "9.6.0",
  "versioned_formulae": [
    "mysql-client@8.4",
    "mysql-client@8.0"
  ],
  "why_use_this": "Install this keg-only formula when you need mysql client binaries (mysql, mysqldump, etc.) but already have the full MySQL server installed, or when you want client tools without the server. It provides the same client interface as the main mysql formula but avoids conflicts."
}