title: Wamp Server and Python
body: <p>Hi i have installed WAMP server(Mysql , apache ,php) and also installed "Python" separately.Now i am trying to connect to that database using python code .</p>
  
  <p>This is my python code:</p>
  
  <pre><code>#!C:\Python32\python.exe
  import sys
  import os
  import cgi
  import MySQLdb
  import cgitb
  import SecureDb
  cgitb.enable()
  print ("Content-type: text/plain\n\n");
  conn= MySQLdb.connect(host = SecureDb.host ,user =SecureDb.user ,passwd=SecureDb.password ,db=SecureDb.database)
  cursor=conn.cursor()
  cursor.execute("select * from register where Name='Subburaj'")
  result=cursor.fetchall()
  cursor.close()
  conn.close()
  </code></pre>
  
  <p>But this is showing an error:</p>
  
  <pre><code> Traceback (most recent call last):
    File "C:\Users\Ponmani\Desktop\test.cgi", line 5, in &lt;module&gt;
      import MySQLdb
    File "C:\Python32\lib\site-packages\MySQLdb\__init__.py", line 17, in &lt;module&gt;
      from release import __version__, version_info, __author__
  ImportError: No module named release
  </code></pre>
  
  <p>If anybody came across this problem please help me to solve this.Thanks in advance.</p>