install mysql module in python 3 code example Example: how to install mysql connector python on mac pip install mysql-connector-python