A Harlequin adapter for MySQL.
Project description
harlequin-mysql
This repo provides the Harlequin adapter for MySQL.
Installation
harlequin-mysql
depends on harlequin
, so installing this package will also install Harlequin.
Using pip
To install this adapter into an activated virtual environment:
pip install harlequin-mysql
Using poetry
poetry add harlequin-mysql
Using pipx
If you do not already have Harlequin installed:
pip install harlequin-mysql
If you would like to add the Postgres adapter to an existing Harlequin installation:
pipx inject harlequin harlequin-mysql
As an Extra
Alternatively, you can install Harlequin with the mysql
extra:
pip install harlequin[mysql]
poetry add harlequin[mysql]
pipx install harlequin[mysql]
Usage and Configuration
You can open Harlequin with the MySQL adapter by selecting it with the -a
option and passing connection parameters as CLI options:
harlequin -a mysql -h localhost -p 3306 -U root --password example --database dev
The MySQL adapter does not accept a connection string or DSN.
Many more options are available; to see the full list, run:
harlequin --help
For more information, see the Harlequin Docs.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for harlequin_mysql-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cebd2a1dc7333c9a9c55d69b48fad0c9f8aa776caca0fb3ff80020ef55904f6 |
|
MD5 | ddbecb5e205376dd2dc6c39ac4673e02 |
|
BLAKE2b-256 | 441492ab3b236453d8afcb0f63e77088135be184ad9b0432fe330e2fb3f83e5d |