CONNECTIVITY OF PYTHON WITH MYSQL
Title
Question
i am trying to connect mysql with python. i downloaded mysql connector by using pip command and also by using conda install through anaconda navigator. but when i run the code it shown ''mysql module does not exists. i am using mysql server 5.2
Python-3.4.3 General
Answers:
In case you are using Ubuntu, along with the MySQL connector you also need to install the python-devel packages systemwide.
Please also ensure that you are running your code in the same environment as the one in which you have installed the MySQL connector
Login to add comment