🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

harlequin-mysql

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harlequin-mysql

A Harlequin adapter for MySQL.

1.1.0
PyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts