MySQLdb installation

From RHS Wiki
Revision as of 08:42, 25 June 2015 by Rafahsolis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Be sure you have pip installed on your machine using this command:

  • sudo easy_install pip

If you already have pip installed, it’d be a good idea to upgrade it now:

  • sudo pip install pip --upgrade

Build the dependencies for python-mysqldb libraries:

  • sudo apt-get install python-dev libmysqlclient-dev python-mysqldb

Install the Python MySQL libraries:

  • sudo pip install MySQL-python