title: Windows Python2.7 mysqldb installation error
body: <p>I'm trying to install mysqldb for Python.
  I'm running "pip install mysql-python"
  and I keep getting this error:</p>
  
  <p>running build_ext<br>
    building '_mysql' extension<br>
    creating build\temp.win32-2.7<br>
    creating build\temp.win32-2.7\Release<br>
    C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Dversion_info=(1,2,5,'fi
  nal',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" -Ic:\python27\include -Ic:\python27\PC /Tc_mysql.c /Fobui
  ld\temp.win32-2.7\Release_mysql.obj /Zl
    _mysql.c<br>
    _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory<br>
    error: command 'C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2</p>
  
  <p>----------------------------------------<br>
    Failed building wheel for mysql-python<br>
  Failed to build mysql-python<br>
  Installing collected packages: mysql-python<br>
    Running setup.py install for mysql-python<br>
      Complete output from command c:\python27\python.exe -c "import setuptools, tokenize;<strong>file</strong>='c:\users\scott~1.sco\appdata\local\temp\pip-bu
  ild-nja4gr\mysql-python\setup.py';exec(compile(getattr(tokenize, 'open', open)(<strong>file</strong>).read().replace('\r\n', '\n'), <strong>file</strong>, 'exec'))" install -
  -record c:\users\scott~1.sco\appdata\local\temp\pip-5htk1y-record\install-record.txt --single-version-externally-managed --compile:
      running install<br>
      running build<br>
      running build_py<br>
      copying MySQLdb\release.py -> build\lib.win32-2.7\MySQLdb<br>
      running build_ext<br>
      building '_mysql' extension<br>
      C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Dversion_info=(1,2,5,'
  final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" -Ic:\python27\include -Ic:\python27\PC /Tc_mysql.c /Fob
  uild\temp.win32-2.7\Release_mysql.obj /Zl
      _mysql.c<br>
      _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory<br>
      error: command 'C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2</p>
  
  <pre><code>----------------------------------------
  </code></pre>
  
  <p>Command "c:\python27\python.exe -c "import setuptools, tokenize;<strong>file</strong>='c:\users\scott~1.sco\appdata\local\temp\pip-build-nja4gr\mysql-python
  \setup.py';exec(compile(getattr(tokenize, 'open', open)(<strong>file</strong>).read().replace('\r\n', '\n'), <strong>file</strong>, 'exec'))" install --record c:\users\scott~1
  .sco\appdata\local\temp\pip-5htk1y-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\scott
  ~1.sco\appdata\local\temp\pip-build-nja4gr\mysql-python</p>
  
  <p>Can anyone tell me whats the problem?</p>