Summary
In this chapter, we have covered how to create and remove users and privileges with MySQL for Python. We have seen:
How to use MySQL and
MySQLdbtoCREATEandDROPusersHow to set user passwords
How we can manage database privileges with MySQL for Python
Ways to automate user creation and removal
How to
GRANTandREVOKEprivileges and the conditions under which that can be done
In the next chapter, we will look at working with dates and time in MySQL for Python.