Chapter 20. Python Reference
There are actually a handful of Python modules running around that support database access against MySQL and mSQL. They are very similar in most respects. This chapter provides the API specification for two common modules. It is, however, important to note an approaching unification of Python database APIs under a single API being specified by the Python Database SIG. mSQL currently has no support for this API.
Module: MySQL
The entry point into the MySQL
module is via the
MySQL.connect()
method. The return value from this
method represents a connection to a MySQL database that you can use
for all of your MySQL operations.
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.