Port details
py-pymysql Pure Python MySQL Driver
1.2.4 databases Σ=2 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2.4Version of this port present on the latest quarterly branch.
Maintainer: lwhsu@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-07-22 17:07:46
Last Update: 2026-11-25 20:25:48
Commit Hash: 6fc5f86
People watching this port, also watch: libgd, p5-Socket6, unixODBC, postfix, png
Also Listed In: python
License: MIT
WWW:
https://github.com/PyMySQL/PyMySQL
Description: #
This pure Python MySQL client provides a DB-API to a MySQL database by talking directly to the server via the binary client/server protocol.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR}
To install the port: #
cd /usr/ports/databases/py-pymysql/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/py-pymysql
  • pkg install py312-pymysql
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-pymysql listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-pymysql
Package flavors (<flavor>: <package>) #
  • py312: py312-pymysql
distinfo: #
TIMESTAMP = 1795636946 SHA256 (pymysql-1.2.4.tar.gz) = 491558165b8e11f3644c5f9cfb30cc9c9111ffd54e53d3aa91b9a0a20be2294f SIZE (pymysql-1.2.4.tar.gz) = 51598

Packages (timestamps in pop-ups are UTC): #
py311-pymysql
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---1.0.2_1-
FreeBSD:14:quarterly---1.0.2_1-
FreeBSD:15:latest--n/a1.0.2_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 

py312-pymysql
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.01.2.4--1.2.4
FreeBSD:14:quarterly1.2.01.2.4--1.2.4
FreeBSD:15:latest1.2.41.2.4n/a-n/a
FreeBSD:15:quarterly1.2.41.2.4n/a-n/a
FreeBSD:16:latest CURRENT1.2.01.2.4n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>=0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Run #
  1. databases/py-aiomysql
  2. databases/py-mycli
  3. net-mgmt/librenms
  4. security/py-nettacker
  5. www/bunkerweb

Only with non-default options:

Expand this list of 8 ports
  1. audio/py-supysonic (PYMYSQL on)
  2. databases/py-ormar (MYSQL on)
  3. databases/py-sqlalchemy14 (MYSQL on)
  4. databases/py-sqlalchemy20 (MYSQL on)
  5. databases/py-sqlalchemy21 (MYSQL on)
  6. devel/py-frictionless (MYSQL on)
  7. devel/py-taskflow (DATABASE on)
  8. www/trac (MYSQL on)
  9. Collapse this list.
for Test #
  1. databases/py-ormar
  2. databases/py-sqlmodel

Configuration Options: #
===> The following configuration options are available for py312-pymysql-1.2.4: ED25519=off: MariaDB ed25519 auth method support RSA=off: sha256_password or caching_sha2_password auth method support ===> Use 'make config' to modify these settings
Options name: #
databases_py-pymysql
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pymysql/
  2. https://pypi.org/packages/source/p/pymysql/
Collapse this list.

Number of commits found: 35 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.4
25 Nov 2026 20:25:48
commit hash: 6fc5f86a1929bfd71807148fbdda12935e4c28c9commit hash: 6fc5f86a1929bfd71807148fbdda12935e4c28c9commit hash: 6fc5f86a1929bfd71807148fbdda12935e4c28c9commit hash: 6fc5f86a1929bfd71807148fbdda12935e4c28c9 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
databases/py-pymysql: Update to 1.2.4

Fix SQL injection via escaping of sequence parameters when the
NO_BACKSLASH_ESCAPES SQL mode is enabled.

Changelog:	https://github.com/PyMySQL/PyMySQL/blob/v1.2.4/CHANGELOG.md

Security:	aa7e7798-a716-4e2f-807d-019f9c61af91
MFH:		2026Q4
1.2.0
21 Aug 2026 20:43:21
commit hash: e52cd0f92401d09cb06caa03e692504f6426157ccommit hash: e52cd0f92401d09cb06caa03e692504f6426157ccommit hash: e52cd0f92401d09cb06caa03e692504f6426157ccommit hash: e52cd0f92401d09cb06caa03e692504f6426157c files touched by this commit This port version is marked as vulnerable.
Li-Wen Hsu (lwhsu) search for other commits by this committer
databases/py-pymysql: Update to 1.2.0

Patch pyproject.toml to keep the legacy license table to keep
compatiable with current devel/py-setuptools (63.1.0).
1.1.1_2
26 Jun 2026 20:47:25
commit hash: 7d289cb32f8b61d6f990475d58b99ef311c8718ccommit hash: 7d289cb32f8b61d6f990475d58b99ef311c8718ccommit hash: 7d289cb32f8b61d6f990475d58b99ef311c8718ccommit hash: 7d289cb32f8b61d6f990475d58b99ef311c8718c files touched by this commit This port version is marked as vulnerable.
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
databases/py-pymysql: Fix USE_PYTHON=cryptography* usage

- While I'm here, fix options dependency helpers
- Bump PORTREVISION for dependency change

Approved by:	portmgr (blanket)
With hat:	python
1.1.1_1
16 Mar 2026 00:16:15
commit hash: 91a822a1923052008be83fb08a762ebc3b2263decommit hash: 91a822a1923052008be83fb08a762ebc3b2263decommit hash: 91a822a1923052008be83fb08a762ebc3b2263decommit hash: 91a822a1923052008be83fb08a762ebc3b2263de files touched by this commit This port version is marked as vulnerable.
Yuri Victorovich (yuri) search for other commits by this committer
security/py-pynacl: update 1.5.0 → 1.6.2
1.1.1
09 Nov 2025 21:15:49
commit hash: 166d8b35431ace91d167f69641099e7656f9a7dbcommit hash: 166d8b35431ace91d167f69641099e7656f9a7dbcommit hash: 166d8b35431ace91d167f69641099e7656f9a7dbcommit hash: 166d8b35431ace91d167f69641099e7656f9a7db files touched by this commit This port version is marked as vulnerable.
Li-Wen Hsu (lwhsu) search for other commits by this committer
Author: Eero Hanninen
databases/py-pymysql: Update to 1.1.1

- Moved to pep517
- Added optional deps

PR:		287110
1.0.2_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit This port version is marked as vulnerable.
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
1.0.2
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit This port version is marked as vulnerable.
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.0.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit This port version is marked as vulnerable.
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.2
25 Jul 2021 23:47:22
commit hash: 2070f6da6765b281035e03f95d0ab93d2c74be26commit hash: 2070f6da6765b281035e03f95d0ab93d2c74be26commit hash: 2070f6da6765b281035e03f95d0ab93d2c74be26commit hash: 2070f6da6765b281035e03f95d0ab93d2c74be26 files touched by this commit This port version is marked as vulnerable.
Li-Wen Hsu (lwhsu) search for other commits by this committer
databases/py-pymysql: Update to 1.0.2
0.10.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.10.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.10.1
28 Dec 2020 23:02:15
Revision:559531commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452Original commit files touched by this commit This port version is marked as vulnerable.
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.10.1
12 Sep 2020 10:15:12
Revision:548301commit hash: cef327d5bedc0addd0f847c78605638863ef5cc8commit hash: cef327d5bedc0addd0f847c78605638863ef5cc8commit hash: cef327d5bedc0addd0f847c78605638863ef5cc8commit hash: cef327d5bedc0addd0f847c78605638863ef5cc8Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
databases/py-pymysql: Update to 0.10.1
0.10.0
10 Aug 2020 08:22:47
Revision:544607commit hash: 3d7bebc4cf14f859c88155fa7c5b86de9e1b7b79commit hash: 3d7bebc4cf14f859c88155fa7c5b86de9e1b7b79commit hash: 3d7bebc4cf14f859c88155fa7c5b86de9e1b7b79commit hash: 3d7bebc4cf14f859c88155fa7c5b86de9e1b7b79Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
Update to 0.10.0
0.9.3
26 Jan 2019 17:33:06
Revision:491304commit hash: bbf26174a432ad9ca63a1f86f2434bb11224de1ecommit hash: bbf26174a432ad9ca63a1f86f2434bb11224de1ecommit hash: bbf26174a432ad9ca63a1f86f2434bb11224de1ecommit hash: bbf26174a432ad9ca63a1f86f2434bb11224de1eOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.9.3
0.9.2
07 Dec 2018 21:34:56
Revision:486896commit hash: 54a604bbc03b6817dcad6bb537406efe87d96f6ccommit hash: 54a604bbc03b6817dcad6bb537406efe87d96f6ccommit hash: 54a604bbc03b6817dcad6bb537406efe87d96f6ccommit hash: 54a604bbc03b6817dcad6bb537406efe87d96f6cOriginal commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
Update WWW

Approved by:	portmgr (blanket)
0.9.2
07 Dec 2018 09:52:09
Revision:486849commit hash: 81897a4f1ba5237f326dca49510134f05e3f0dadcommit hash: 81897a4f1ba5237f326dca49510134f05e3f0dadcommit hash: 81897a4f1ba5237f326dca49510134f05e3f0dadcommit hash: 81897a4f1ba5237f326dca49510134f05e3f0dadOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.9.2
0.8.1
17 May 2018 07:40:01
Revision:470201commit hash: 0a286f052f5adf7b75f07f784ffd1de869e7bc27commit hash: 0a286f052f5adf7b75f07f784ffd1de869e7bc27commit hash: 0a286f052f5adf7b75f07f784ffd1de869e7bc27commit hash: 0a286f052f5adf7b75f07f784ffd1de869e7bc27Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.8.1
0.8.0
26 Dec 2017 18:59:10
Revision:457309commit hash: c4e8790debcda5b81f72ce9345e050bafeca8090commit hash: c4e8790debcda5b81f72ce9345e050bafeca8090commit hash: c4e8790debcda5b81f72ce9345e050bafeca8090commit hash: c4e8790debcda5b81f72ce9345e050bafeca8090Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.8.0
0.7.11
06 Apr 2017 12:16:25
Revision:437859commit hash: 1f6571ef45e4f3124ea3623a9a4128be694682ebcommit hash: 1f6571ef45e4f3124ea3623a9a4128be694682ebcommit hash: 1f6571ef45e4f3124ea3623a9a4128be694682ebcommit hash: 1f6571ef45e4f3124ea3623a9a4128be694682ebOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.7.11
0.7.10
17 Feb 2017 03:40:34
Revision:434266commit hash: a208ac89bbae45eaba2c6731813183cfd18a4547commit hash: a208ac89bbae45eaba2c6731813183cfd18a4547commit hash: a208ac89bbae45eaba2c6731813183cfd18a4547commit hash: a208ac89bbae45eaba2c6731813183cfd18a4547Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.7.10
0.7.9
26 Oct 2016 13:43:25
Revision:424698commit hash: ab1ec9571ad361e5f7e63b4e06ad87e25d25b61ccommit hash: ab1ec9571ad361e5f7e63b4e06ad87e25d25b61ccommit hash: ab1ec9571ad361e5f7e63b4e06ad87e25d25b61ccommit hash: ab1ec9571ad361e5f7e63b4e06ad87e25d25b61cOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.7.9
0.7.5
14 Jul 2016 05:31:03
Revision:418512commit hash: e7f0ba8f366bd704f67ee2038be6a9ce382fca4ccommit hash: e7f0ba8f366bd704f67ee2038be6a9ce382fca4ccommit hash: e7f0ba8f366bd704f67ee2038be6a9ce382fca4ccommit hash: e7f0ba8f366bd704f67ee2038be6a9ce382fca4cOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.7.5
0.7.4
27 May 2016 06:26:42
Revision:415926commit hash: 0b8bed9f5412d258ec66124fce04f76bf7a146facommit hash: 0b8bed9f5412d258ec66124fce04f76bf7a146facommit hash: 0b8bed9f5412d258ec66124fce04f76bf7a146facommit hash: 0b8bed9f5412d258ec66124fce04f76bf7a146faOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.7.4
0.7.3
25 May 2016 08:34:31
Revision:415823commit hash: aeb4cbc3543e9da2f333c5985ccef61868a57410commit hash: aeb4cbc3543e9da2f333c5985ccef61868a57410commit hash: aeb4cbc3543e9da2f333c5985ccef61868a57410commit hash: aeb4cbc3543e9da2f333c5985ccef61868a57410Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.7.3
0.7.2
06 May 2016 09:23:05
Revision:414692commit hash: b0054c49ffbf0a01196e037512b86151ef8543f9commit hash: b0054c49ffbf0a01196e037512b86151ef8543f9commit hash: b0054c49ffbf0a01196e037512b86151ef8543f9commit hash: b0054c49ffbf0a01196e037512b86151ef8543f9Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.7.2
0.6.7
05 Dec 2015 04:59:56
Revision:403022commit hash: 50e21cfda3f7e3af2eaeec3da44f3886be2beae9commit hash: 50e21cfda3f7e3af2eaeec3da44f3886be2beae9commit hash: 50e21cfda3f7e3af2eaeec3da44f3886be2beae9commit hash: 50e21cfda3f7e3af2eaeec3da44f3886be2beae9Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 0.6.7
- Add missing PKGNAMEPREFIX
- Add LICENSE_FILE
- Add NO_ARCH
- Sort USE_PYTHON

Changes:	https://github.com/PyMySQL/PyMySQL/blob/master/CHANGELOG
PR:		204880
Submitted by:	sunpoet (myself)
Approved by:	lwhsu (maintainer)
0.6.2
19 Oct 2014 08:50:18
Revision:371173commit hash: e1555011ab42870150513585c13b3a273e4bf53bcommit hash: e1555011ab42870150513585c13b3a273e4bf53bcommit hash: e1555011ab42870150513585c13b3a273e4bf53bcommit hash: e1555011ab42870150513585c13b3a273e4bf53bOriginal commit files touched by this commit This port version is marked as vulnerable.
mva search for other commits by this committer
- Convert ports from databases/ and deskutils/ to new USES=python

Approved by:	portmgr (implicit)
0.6.2
14 May 2014 13:33:11
Revision:354056commit hash: 99df86642ae8a4ecb15c73203959214a16f2ca5fcommit hash: 99df86642ae8a4ecb15c73203959214a16f2ca5fcommit hash: 99df86642ae8a4ecb15c73203959214a16f2ca5fcommit hash: 99df86642ae8a4ecb15c73203959214a16f2ca5fOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.6.2
- Remove obsolete PYDISTUTILS_PKGNAME
- Pet portlint

PR:		ports/189752
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
0.6.1
03 Jan 2014 08:57:39
Revision:338532commit hash: 7c372d7ea54e72de39f2c6b96c2b5c93c601d5abcommit hash: 7c372d7ea54e72de39f2c6b96c2b5c93c601d5abcommit hash: 7c372d7ea54e72de39f2c6b96c2b5c93c601d5abcommit hash: 7c372d7ea54e72de39f2c6b96c2b5c93c601d5abOriginal commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.6.1
0.5
18 Nov 2013 17:02:07
Revision:334228commit hash: 41c039bfb236c6649a02d7eaaba490c1d80eb0c1commit hash: 41c039bfb236c6649a02d7eaaba490c1d80eb0c1commit hash: 41c039bfb236c6649a02d7eaaba490c1d80eb0c1commit hash: 41c039bfb236c6649a02d7eaaba490c1d80eb0c1Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Support STAGEDIR
0.5
20 Sep 2013 16:13:49
Revision:327717commit hash: 36117d709704f772dbc3d305cda6923741791598commit hash: 36117d709704f772dbc3d305cda6923741791598commit hash: 36117d709704f772dbc3d305cda6923741791598commit hash: 36117d709704f772dbc3d305cda6923741791598Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
databases)
0.5
09 Nov 2011 03:42:45
Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
- Update to 0.5
0.4
22 Jul 2011 17:07:28
Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
Add py-pymysql 0.4, pure Python MySQL Driver.

Number of commits found: 35