title: Python MySQLdb not importing
body: <p>I have installed mysql server using</p>
  
  <pre><code>$ sudo apt-get install mysql-server
  </code></pre>
  
  <p>then I installed python-mysqldb using</p>
  
  <pre><code>$ sudo apt-get install python-mysqldb
  </code></pre>
  
  <p>but when I import MySQLdb in python it shows the following error</p>
  
  <pre><code>&gt;&gt;&gt; import MySQLdb
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named MySQLdb
  </code></pre>
  
  <p>I reinstalled both mysql server and python-mysqldb but it shows the same error. What am I getting wrong?</p>