|File Search||Catalog||Content Search|
MySQLdb is an interface to the popular MySQL database server for Python. The design goals are:
- Compliance with Python database API version 2.0 - Thread-safety - Thread-friendliness (threads will not block each other) - Compatibility with MySQL 3.23 and up
This module should be mostly compatible with an older interface written by Joe Skinner and others. However, the older version is a) not thread-friendly, b) written for MySQL 3.21, c) apparently not actively maintained. No code from that version is used in MySQLdb.
==================== MySQLdb Installation ==================== .. contents:: .. Prerequisites ------------- + Python 2.3.4 or higher * http://www.python.org/ * Versions lower than 2.3 WON'T WORK. * 2.4 is the primary test environment. * Red Hat Linux: - Make sure you have the Python development headers and libraries (python-devel). + setuptools * http://pypi.python. more»
==================================== MySQLdb Frequently Asked Questions ==================================== .. contents:: .. Build Errors ------------ ld: fatal: library -lmysqlclient_r: not found mysqlclient_r is the thread-safe library. It's not available on all platforms, or all installations, apparently. You'll need to reconfigure site.cfg (in MySQLdb-1.2.1 and newer) to have threadsa more»
__author__ = "Andy Dustman <firstname.lastname@example.org>" version_info = (1,2,3,'gamma',1) __version__ = "1.2.3c1"