Get 40% off print & eBooks in Web Development, Machine Learning & Python >>

MySQL Connector/Python Revealed

SQL and NoSQL Data Storage Using MySQL for Python Programmers

Authors: Krogh, Jesper Wisborg

Download source code
  • Covers MySQL Connector/Python 8.0 using both SQL and NoSQL
  • Guides you from installation through use and troubleshooting
  • Covers the X DevAPI that underlies all MySQL language interfaces
see more benefits

Buy this book

eBook 22,99 €
price for Spain (gross)
  • ISBN 978-1-4842-3694-9
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 29,11 €
price for Spain (gross)
  • ISBN 978-1-4842-3693-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules
About this book

Move data back and forth between database and application. The must-have knowledge in this book helps programmers learn how to use the official driver, MySQL Connector/Python, by which Python programs communicate with the MySQL database. 

This book takes you from the initial installation of the connector through basic query execution, then through more advanced topics, error handing, and troubleshooting. The book covers both the traditional API as well as the new X DevAPI. The X DevAPI is part of MySQL 8.0 and is an API that can be used with connectors for several programming languages and is used from the command-line interface known as MySQL Shell. You will learn to use the connector by working through code examples and following a discussion of how the API calls work. 
By the end of the book, you will be able to use MySQL as the back-end storage for your Python programs, and you’ll even have the option of choosing between SQL and NoSQL interfaces. 
What You'll Learn

  • Install MySQL Connector/Python
  • Connect to MySQL and configure database access
  • Execute SQL and NoSQL queries from your Python program
  • Trap errors and troubleshoot problems
  • Store data from different languages using MySQL’s character set support
  • Work in the X DevAPI that underlies all of MySQL’s language connectors
Who This Book Is For
Developers familiar with Python who are looking at using MySQL as the back-end database. No prior knowledge of Connector/Python is assumed, but readers should be familiar with databases and the Python programming language. 

About the authors

Jesper Wisborg Krogh is a member of the Oracle MySQL Support team and has spoken on several occasions at Oracle OpenWorld. He has a Ph.D. in computational chemistry before changing to work with MySQL and other software development in 2006. Jesper lives in Sydney, Australia, and enjoys spending time outdoors walking, traveling, and reading. His areas of expertise include MySQL Cluster, MySQL Enterprise Backup, and the Performance and sys schemas. He is an active author in the Oracle Knowledge Base, and regularly blogs on MySQL topics.

Table of contents (10 chapters)

  • Introduction and Installation

    Krogh, Jesper Wisborg

    Pages 3-43

    Preview Buy Chapter 30,19 €
  • Connecting to MySQL

    Krogh, Jesper Wisborg

    Pages 47-82

    Preview Buy Chapter 30,19 €
  • Basic Query Execution

    Krogh, Jesper Wisborg

    Pages 83-132

    Preview Buy Chapter 30,19 €
  • Advanced Query Execution

    Krogh, Jesper Wisborg

    Pages 133-221

    Preview Buy Chapter 30,19 €
  • Connection Pooling and Failover

    Krogh, Jesper Wisborg

    Pages 223-256

    Preview Buy Chapter 30,19 €

Buy this book

eBook 22,99 €
price for Spain (gross)
  • ISBN 978-1-4842-3694-9
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 29,11 €
price for Spain (gross)
  • ISBN 978-1-4842-3693-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
MySQL Connector/Python Revealed
Book Subtitle
SQL and NoSQL Data Storage Using MySQL for Python Programmers
Authors
Copyright
2018
Publisher
Apress
Copyright Holder
Jesper Wisborg Krogh
eBook ISBN
978-1-4842-3694-9
DOI
10.1007/978-1-4842-3694-9
Softcover ISBN
978-1-4842-3693-2
Edition Number
1
Number of Pages
XXIII, 515
Number of Illustrations and Tables
28 b/w illustrations
Topics