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