MySQL Connector/Python Revealed: SQL and NoSQL Data Storage Using MySQL for Python Programmers
暫譯: 揭開 MySQL Connector/Python:Python 程式設計師的 SQL 與 NoSQL 數據存儲指南

Jesper Wisborg Krogh

  • 出版商: Apress
  • 出版日期: 2018-08-01
  • 售價: $2,370
  • 貴賓價: 9.5$2,252
  • 語言: 英文
  • 頁數: 540
  • 裝訂: Paperback
  • ISBN: 1484236939
  • ISBN-13: 9781484236932
  • 相關分類: MySQLNoSQLPython程式語言SQL
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

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. 

商品描述(中文翻譯)

將資料在資料庫和應用程式之間來回移動。本書中必備的知識幫助程式設計師學習如何使用官方驅動程式 MySQL Connector/Python,透過該驅動程式,Python 程式可以與 MySQL 資料庫進行通信。

本書將帶您從連接器的初始安裝開始,經過基本查詢執行,然後進入更高級的主題、錯誤處理和故障排除。本書涵蓋了傳統 API 以及新的 X DevAPI。X DevAPI 是 MySQL 8.0 的一部分,是一個可以與多種程式語言的連接器一起使用的 API,並且可以從稱為 MySQL Shell 的命令列介面使用。您將通過實作程式碼範例並跟隨 API 調用的運作討論來學習如何使用連接器。

在本書結束時,您將能夠將 MySQL 作為您的 Python 程式的後端儲存,您甚至可以選擇 SQL 和 NoSQL 介面之間的選項。

您將學到什麼


  • 安裝 MySQL Connector/Python

  • 連接到 MySQL 並配置資料庫訪問

  • 從您的 Python 程式執行 SQL 和 NoSQL 查詢

  • 捕捉錯誤並故障排除

  • 使用 MySQL 的字符集支持存儲來自不同語言的資料

  • 在支撐 MySQL 所有語言連接器的 X DevAPI 中工作

本書適合誰

本書適合熟悉 Python 的開發人員,他們希望使用 MySQL 作為後端資料庫。不假設讀者具備 Connector/Python 的先前知識,但讀者應該熟悉資料庫和 Python 程式語言。