<p>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. <br><br>This book takes you from the initial installation o
MySQL Connector/Python Revealed: SQL and NoSQL Data Storage Using MySQL for Python Programmers
โ Scribed by Jesper Wisborg Krogh
- Publisher
- Apress
- Year
- 2018
- Tongue
- English
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
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.ย
โฆ Table of Contents
Front Matter ....Pages i-xxiii
Front Matter ....Pages 1-1
Introduction and Installation (Jesper Wisborg Krogh)....Pages 3-43
Front Matter ....Pages 45-45
Connecting to MySQL (Jesper Wisborg Krogh)....Pages 47-82
Basic Query Execution (Jesper Wisborg Krogh)....Pages 83-132
Advanced Query Execution (Jesper Wisborg Krogh)....Pages 133-221
Connection Pooling and Failover (Jesper Wisborg Krogh)....Pages 223-256
Front Matter ....Pages 257-257
The X DevAPI (Jesper Wisborg Krogh)....Pages 259-304
The MySQL Document Store (Jesper Wisborg Krogh)....Pages 305-370
SQL Tables (Jesper Wisborg Krogh)....Pages 371-401
Front Matter ....Pages 403-403
Error Handling (Jesper Wisborg Krogh)....Pages 405-451
Troubleshooting (Jesper Wisborg Krogh)....Pages 453-504
Back Matter ....Pages 505-515
๐ SIMILAR VOLUMES
This book teaches you how to use MySQL and mSQL, two popular and robust database products that support key subsets of SQL on both Linux and Unix systems. Unlike commercial databases, mSQL and MySQL are affordable and easy to use. Both are free for nonprofit use and cost a small amount for commerc
MySQL and mSQL are popular and robust database products that support key subsets of SQL on both Linux and UNIX systems. Both products are free for non-profit use and cost a small amount for commercial use. Even a small organization or Web site has uses for a database. Perhaps you keep track of all y