# @types/mysql

> TypeScript definitions for mysql

Latest version **2.15.27** (published 2025-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/mysql
pnpm add @types/mysql
yarn add @types/mysql
bun add @types/mysql
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.15.27 |
| Published | 2025-03-26 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/mysql
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mysql
- npm.io page: https://npm.io/package/@types/mysql

## Recent versions

- 2.15.27 (latest) — 2025-03-26
- 2.15.26 (ts4.7) — 2024-03-11
- 2.15.25 (ts4.6) — 2023-12-27
- 2.15.24 (ts4.5) — 2023-11-07
- 2.15.21 (ts3.8) — 2022-02-08
- 2.15.19 (ts3.6) — 2021-07-07
- 2.15.18 (ts3.4) — 2021-03-02
- 2.15.17 (ts3.3) — 2020-12-29
- 2.15.15 (ts3.0) — 2020-07-12
- 2.15.10 (ts2.8) — 2020-04-17
- 2.15.7 (ts2.1) — 2019-08-19
- 2.15.0 (ts2.0) — 2017-10-25
- 2.15.23 — 2023-10-18
- 2.15.22 — 2023-09-27
- 2.15.20 — 2021-12-24
- … 29 more at https://npm.io/package/@types/mysql/versions

## README

# Installation
> `npm install --save @types/mysql`

# Summary
This package contains type definitions for mysql (https://github.com/mysqljs/mysql).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mysql.

### Additional Details
 * Last updated: Wed, 26 Mar 2025 09:02:17 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [ William Johnston](https://github.com/wjohnsto), [Krittanan Pingclasai](https://github.com/kpping), [James Munro](https://github.com/jdmunro), and [Sanders DeNardi](https://github.com/sedenardi).

---
_Source: https://npm.io/package/@types/mysql · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
