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