title: Installing MySQLDB on Python 2.7.3 under CentOS
body: <p>I need to install Python 2.7 on a machine, from source, alongside the existing version on the machine (2.4). I have compiled and installed Python successfully, but when I try to run a script calling the MySQLDB module, it throws the following error:</p>
  
  <pre><code>[root@the-node1 bin]# interactive_recording_archive.py 
  Traceback (most recent call last):
    File "/usr/local/bin/interactive_recording_archive.py", line 8, in &lt;module&gt;
      import MySQLdb as mdb
  ImportError: No module named MySQLdb
  </code></pre>
  
  <p>I have tried installing MySQLDB using the easy-install script but this fails to find any module by that name. I have MySQL installed and working on the machine.</p>
  
  <p>What am I doing wrong?</p>