To install MySQLdb module in python, download it from MySQLdb Download page Finally, execute the following command to configure mysqldb with python: [code] $ tar xfz MySQL-python-1.2.4b4.tar.gz $ cd MySQL-python-1.2.4b4 $ # edit site.cfg if necessary $ python setup.py build $ sudo python setup.py install # or su first [/code]
Tag: mysql connector for python
Permanent link to this article: https://blog.openshell.in/2013/03/how-to-install-mysqldb-module-in-python/