Summary
In this chapter, we have covered how to build a Python class for retrieving MySQL metainformation. We have seen:
How to retrieve information on the engines used by MySQL
Which system variables we can retrieve
The several pieces of metadata about a given table that we can access
How to retrieve user privileges and the grants used to give them
In the next chapter, we will look at one of the most important aspects of database administration—disaster recovery.