MySQL Connector/Python Revealed
Apress (Verlag)
978-1-4842-3693-2 (ISBN)
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 SQLand 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.
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.
Introduction.- Part I: Getting Ready.- Chapter 1. Introduction and Installation.- Part II: The Legacy APIs.- Chapter 2. Connecting to MySQL.- Chapter 3. Basic Query Execution.- Chapter 4. Advanced Query Execution.- Chapter 5. Connection Pooling and Failover.- Part III: The X DevAPI.- Chapter 6. The X DevAPI.- Chapter 7. The MySQL Document Store.- Chapter 8. SQL Tables.- Part IV: Error Handling and Troubleshooting.- Chapter 9. Error Handling.- Chapter 10. Troubleshooting.
Erscheinungsdatum | 13.08.2018 |
---|---|
Zusatzinfo | 28 Illustrations, black and white; XXIII, 515 p. 28 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 155 x 235 mm |
Themenwelt | Informatik ► Datenbanken ► MySQL |
Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge | |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Schlagworte | Connection Pooling • Connector/Python • Linux • Microsoft Windows • MySQL • MySQL Shell • National Language Support • NoSQL • Python 8.0 • X DevAPI |
ISBN-10 | 1-4842-3693-9 / 1484236939 |
ISBN-13 | 978-1-4842-3693-2 / 9781484236932 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich