MySQL Connector/Python Revealed

£54.99

MySQL Connector/Python Revealed

SQL and NoSQL Data Storage Using MySQL for Python Programmers

Open source and other operating systems Programming and scripting languages: general Databases

Author: Jesper Wisborg Krogh

Dinosaur mascot

Collection: Professional and Applied Computing

Language: English

Published by: Apress

Published on: 31st July 2018

Format: LCP-protected ePub

Size: 2 Mb

ISBN: 9781484236949


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.

Overview

This book takes you from the initial installation of the connector through basic query execution, then through more advanced topics, error handling, 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.

End Goals

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.

Show moreShow less