Skip to main content

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

harlequin_mysql-0.3.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harlequin_mysql-0.3.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file harlequin_mysql-0.3.0.tar.gz.

File metadata

  • Download URL: harlequin_mysql-0.3.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.14 Linux/6.5.0-1025-azure

File hashes

Hashes for harlequin_mysql-0.3.0.tar.gz
Algorithm Hash digest
SHA256 46ef42c5b658568f5340ee53c241cb1333f3e04914807c1f83741e83517878b3
MD5 a497d428b4f937b45c83eee20cbf5f3a
BLAKE2b-256 80fd410c3a6f6c1d0358359c58a3c36b0ac3519a1da8d0e7f0424f1a00f8bfcc

See more details on using hashes here.

File details

Details for the file harlequin_mysql-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: harlequin_mysql-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.14 Linux/6.5.0-1025-azure

File hashes

Hashes for harlequin_mysql-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f3e76f13c23f73f2d59ec1162a023e6da999700da669e4bd406a391183cbb7
MD5 b939b98d029e06c8fe751b5729fa971e
BLAKE2b-256 c5cf7efe519f866f4ee9ffa960115a3fbe2efb172d542f744a704f20bfc630c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page