In previous chapters, we generated several different reports, using many Python utilities and tools. In this chapter, we will utilize Python libraries to connect to external databases and submit the data we have generated. This data can then be accessed by external applications to get information.
Python provides a wide range of libraries and modules that cover managing and working on popular Database Management Systems (DBMSes), such as MySQL, PostgreSQL, and Oracle. In this chapter, we will learn how to interact with a DBMS and fill it with our own data.
The following topics will be covered in this chapter:
- Installing MySQL on an automation server
- Accessing the MySQL database from Python