Thanks Gabriel, it worked after installing MySQL (database engine).<br>Regards<br>Syed<br><br><div class="gmail_quote">On Tue, Apr 8, 2008 at 10:23 AM, Gabriel Genellina <<a href="mailto:gagsl-py2@yahoo.com.ar">gagsl-py2@yahoo.com.ar</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">En Tue, 08 Apr 2008 00:35:29 -0300, syed mehdi <<a href="mailto:smmehadi@gmail.com">smmehadi@gmail.com</a>><br>

escribió:<br>
<div class="Ih2E3d"><br>
> I have been working in python from some time now,<br>
> while writing a python script i used: import MySQLdb in my script to do<br>
> some<br>
> database related operations.<br>
> When i tried to execute the same script on another system it gave me an<br>
> error as:<br>
> "ImportError: No module named MySQLdb"<br>
> though mysqldb was already installed on that system, and python 2.5.2 was<br>
> present on that machine.<br>
> i have tried uninstalling and installing of mysql again and again but to<br>
> no<br>
> avail.<br>
<br>
</div>MySQL (the database engine) is not the same as MySQLdb (the Python<br>
package). You have to download and install it:<br>
<a href="http://mysql-python.sourceforge.net/" target="_blank">http://mysql-python.sourceforge.net/</a><br>
<br>
--<br>
Gabriel Genellina<br>
<font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>