MySQLdb is a Python DB API-2.0-compliant interface; see PEP-249 for details. For up-to-date versions of MySQLdb, use the homepage link.

Supported versions:

* MySQL versions from 3.23 to 5.5; 5.0 or newer recommended. MariaDB should also work.
* Python versions 2.4-2.7; Python 3 support coming soon.

ZMySQLDA is a Database Adapter for Zope2.

Features

  • MySQL

Project Samples

Project Activity

  • UCanAccess exhibits a cleaning behavior where it doesn't raise an error when a column name in a SQL query is ambiguous, unlike many other database engines that do. Instead, UCanAccess appears to prioritize the first table in the FROM clause that contains the column with the same name. This differs from the behavior of databases like Access, SQL Server, MySQL, DB2, and Oracle, which explicitly flag such situations as errors. Is there a configuration option or a way to modify UCanAccess to align with...
  • I have python 3.7 version which version it will support of mysql
  • We were using Mysql-Python 1.2.3 binaries (Sourceforge) and planning to update to Mysql-Python 1.2.4 binaries from Sourceforge. We found below 5 packages are missing in 1.2.4 version compared to 1.2.3. Are there any relevant ones for the same in 1.2.4 ? backports chardet iotop requests urllib3 Thanks, -Umesh
  • Thanks so much. Solved my problem.
  • This is my code import config import MySQLdb import sys from collections import OrderedDict class DatabaseConnect(object): _db_connection = None _db_cur = None # __session = None # __connection = None def __init__(self): self._db_connection = MySQLdb.connect( host=config.mysqlhost, user=config.mysqluser, passwd=config.mysqlpass, db=config.mysqldbnm ) # self._db_connection.ping(True) self._db_cur = self._db_connection.cursor() def __del__(self): self._db_connection.close() def query(self, query, param=None):...

See All Activity >

Categories

Database

License

Python License (CNRI Python License), GNU General Public License version 2.0 (GPLv2), Zope Public License

Follow MySQL for Python

MySQL for Python Web Site

Other Useful Business Software
Red Hat Enterprise Linux on Microsoft Azure
Red Hat Enterprise Linux on Microsoft Azure Icon
Red Hat Enterprise Linux on Microsoft Azure

Deploy Red Hat Enterprise Linux on Microsoft Azure for a secure, reliable, and scalable cloud environment, fully integrated with Microsoft services.

Red Hat Enterprise Linux (RHEL) on Microsoft Azure provides a secure, reliable, and flexible foundation for your cloud infrastructure. Red Hat Enterprise Linux on Microsoft Azure is ideal for enterprises seeking to enhance their cloud environment with seamless integration, consistent performance, and comprehensive support.
Learn More
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
70
2
0
0
6
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • Thanks onepeak solving my problem. As he said, if your OS is win64, please go to www.codegood.com/archives/129
  • This is good for 32bits of Python, but not for 64bits of Python! If you installed 64bits of Python (not 64/32bits of OS), you may want to download the 64bits of MySQLdb here: www_codegood_com/archives/129 I wasted over 1 hour to solve this UnicodeDecodeError (64bits Python + 32bits MySQLdb), and hope to save your time.
    3 users found this review helpful.
  • Want to hurry to support Python3!!!
  • Excellent project! Reccommend everybody. Thanks!)))+1
  • Mysql-python is excellent! Thanks.
    1 user found this review helpful.
Read more reviews >

Additional Project Details

Operating Systems

Cygwin, Solaris, Linux, OpenBSD, FreeBSD, NetBSD, BSD, Mac, Windows

Languages

English

Intended Audience

Developers

Programming Language

Python, C, Zope

Database Environment

Python Database API, MySQL

Related Categories

Python Database Software, C Database Software, Zope Database Software

Registered

2001-03-08