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