Abstract
This chapter begins the journey through the features of the Python Database API (PEP249) by discussing how connections are made. This includes going through the connection options with a particular focus on the options defining where to connect and who as and the character set related options.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
See https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file for the Docker documentation on setting environment variables.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Jesper Wisborg Krogh
About this chapter
Cite this chapter
Krogh, J.W. (2018). Connecting to MySQL. In: MySQL Connector/Python Revealed. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3694-9_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3694-9_2
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3693-2
Online ISBN: 978-1-4842-3694-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)