...
Install varies depending on whether you are using Python2.7 distributed with Cygwin or Python2.7 installed via an MSI.
In both cases, go to the downloads page: Download the self-installing exe for Python 2.7 from http://dev.mysql.com/downloads/connector/python/
...
For .MSI, select Platform to be "Microsoft Windows", and use the ver. 2.7 MSI.
For Cygwin, it is easiest to use easy_install or pip (Source) E.g. .
Code Block |
---|
Administrator@cc-svr10 ~
$ easy_install mysql-connector-python
Searching for mysql-connector-python
Reading http://pypi.python.org/simple/mysql-connector-python/
Best match: mysql-connector-python 1.0.10
Downloading http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-1.0.10.zip
Processing mysql-connector-python-1.0.10.zip
Writing /tmp/easy_install-ZFHHNn/mysql-connector-python-1.0.10/setup.cfg
Running mysql-connector-python-1.0.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZFHHNn/mysql-connector-python-1.0.10/egg-dist-tmp-wICK6D
zip_safe flag not set; analyzing archive contents...
Adding mysql-connector-python 1.0.10 to easy-install.pth file
Installed /usr/lib/python2.7/site-packages/mysql_connector_python-1.0.10-py2.7.egg
Processing dependencies for mysql-connector-python
Finished processing dependencies for mysql-connector-python
|
A manual installation of Ant is only required for building CloudStack 4.0.
...