I have been trying to use MySQL in a Python project I've been working on. I downloaded the connector: mysql-connector-python-2.1.3-py3.4-winx64
here.
I already had Python 3.5.1 installed. When I tried to install the connector, it didn't work because it required python 2.7 instead. I have searched on many sites, even on StackOverflow I couldn't find a solution.
Thanks for any help.
I did the steps below with Python 3.5.1 and it works:
Driver installation in cmd, in this folder Python\Python35\PyMySQL-0.7.4\pymysql
Copy folder Python\Python35\PyMySQL-0.7.4\pymysql to Python\Python35\pymysql
Sample code in python IDE