Skip to main content

MySQLdb is an interface to the popular MySQL database server for Python. The design goals are:

  • Compliance with Python database API version 2.0 [PEP-0249]

  • Thread-safety

  • Thread-friendliness (threads will not block each other)

MySQL-3.22 through 4.1 and Python-2.3 through 2.4 are currently supported.

MySQLdb is Free Software.

Metadata

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page