Metadata-Version: 2.4
Name: harlequin-mysql
Version: 1.3.0
Summary: A Harlequin adapter for MySQL.
Author-email: Ted Conbeer <tconbeer@users.noreply.github.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: duckdb>=1.4.2.dev0; python_version >= '3.14'
Requires-Dist: harlequin<3,>=1.25.0
Requires-Dist: mysql-connector-python<10,>=9.1.0
Description-Content-Type: text/markdown

# harlequin-mysql

This repo provides the Harlequin adapter for MySQL/MariaDB.

## Installation

You must install the `harlequin-mysql` package into the same environment as `harlequin`. The best and easiest way to do this is to use `uv` to install Harlequin with the `mysql` extra:

```bash
uv tool install 'harlequin[mysql]'
```

## Usage and Configuration

You can open Harlequin with the MySQL/MariaDB adapter by selecting it with the `-a` option and passing connection parameters as CLI options:

```bash
harlequin -a mysql -h localhost -p 3306 -U root --password example --database dev
```

Note: use `-a mysql` for both MySQL and MariaDB servers.

The MySQL/MariaDB adapter does not accept a connection string or DSN.

Many more options are available; to see the full list, run:

```bash
harlequin --help
```

For more information, see the [Harlequin Docs](https://harlequin.sh/docs/mysql/index).
