MySqlDB Question - CompatMySqlDB is all I can find ?

Hans-Joachim Widmaier hjwidmaier at web.de
Sat Aug 23 05:10:04 EDT 2003


Am Thu, 21 Aug 2003 03:38:37 -0700 schrieb Richard Shea:

>>>> import CompatMysqldb
>>>> import Mysqldb
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named Mysqldb
>>>>

Did you try

"import MySQLdb"?

Case is significant, even on Windows.

I've never tried it on Windows myself, but I guess its spelled just like
under Unix - where it works for me with the above spelling.

Hope that helps
hjw




More information about the Python-list mailing list