MySQL

Let’s learn how MySQL can be used.

We'll cover the following...

History

MySQL is a very popular open source database backend. We can connect to it with Python in several different ways. For example, we could connect to it using one of the ODBC methods we mentioned in the previous lessons. One of the most popular ways to connect to MySQL with Python is the MySQLdb package. There are actually a couple of variants of this package:

  • MySQLdb1
  • MySQLdb2
  • moist

The first is the traditional way to connect to MySQL with Python. However, its development is just now in maintenance and won’t ...