Search code examples
pythonmysqlvisual-studio-2013ptvs

How to install mysql package for Visual Studio 2013 python tool


I am new to python. I installed the python tool on Visual Studio 2013. How do I install mysql package/module??? I need to write python code which will interact with mysql DB.


Solution

  • Try the windows installer for MySQL-python:

    https://pypi.python.org/pypi/MySQL-python/1.2.5

    Once installed properly, you should be able to run import MySQLdb