Hi!
 
I end up with the same problem. Just like this plugin i tried:
import MySQLdb
 
but I get this error message, when starting up pymol:
 
Exception in plugin 'dbsearch' -- Traceback follows...
Traceback (most recent call last):
  File "C:\Program Files\DeLano Scientific\PyMOL/modules\pmg_tk\PMGApp.py", line 156, in initialize_plugins
    __builtin__.__import__(mod_name)
  File "C:\Program Files\DeLano Scientific\PyMOL/modules\pmg_tk\startup\dbsearch.py", line 54, in ?
    import MySQLdb
ImportError: No module named MySQLdb
Error: unable to initialize plugin 'dbsearch'.
 
Bye
DeVill

 
2007/3/9, Jerome Pansanel <j.pansanel@pansanel.net>:
Hi,

Take a look on this plugin:
http://pymol-plugins.sourceforge.net/dbsearch.html

Cheers,

Jerome Pansanel

Le vendredi 9 mars 2007 14:24, DeVill a écrit:
> Hi!
>
> I would like to use direct mysql connection to a database in a plugin. Can
> you please tell me if there is a way to add MySQLdb module to PyMOL? if
> yes, then how?
>
> Bye
> DeVill

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users