Skip to Main Content
MySQL Connector/Python Revealed: SQL and NoSQL Data Storage Using MySQL for Python Programmers
book

MySQL Connector/Python Revealed: SQL and NoSQL Data Storage Using MySQL for Python Programmers

by Jesper Wisborg Krogh
July 2018
Intermediate to advanced content levelIntermediate to advanced
527 pages
9h 59m
English
Apress
Content preview from MySQL Connector/Python Revealed: SQL and NoSQL Data Storage Using MySQL for Python Programmers
© Jesper Wisborg Krogh 2018
Jesper Wisborg KroghMySQL Connector/Python Revealedhttps://doi.org/10.1007/978-1-4842-3694-9_2

2. Connecting to MySQL

Jesper Wisborg Krogh1 
(1)
Hornsby, New South Wales, Australia
 

In the previous chapter, you installed MySQL Connector/Python and made sure that the module worked. However, printing the version string for the connector is hardly very exciting, so this chapter will begin the journey through the features of the two legacy APIs.

The mysql.connector module includes the implementation of the Python Database API, which is defined in PEP249 ( https://www.python.org/dev/peps/pep-0249/ ). This includes the option to use the C Extension while using the same API. This API is the main focus of Chapters 2-5. Additionally, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Using MySQL Databases with Python

Using MySQL Databases with Python

John Elder
The Complete Python and PostgreSQL Developer Course

The Complete Python and PostgreSQL Developer Course

Codestars By Rob Percival, Jose Salvatierra Fuentes

Publisher Resources

ISBN: 9781484236949Purchase LinkPublisher Website