MySQLdb - possible without install?

Gerhard Häring gerhard.nospam at bigfoot.de
Mon Jul 16 20:35:40 EDT 2001


On Sat, 14 Jul 2001 23:40:24 GMT, Ken <ken_chiba at hotmail.com> wrote:
>Ok.
>
>Still no luck!  In case I'm just missing something... here is a
>listing of various files/directories:

Sorry, I'm out of ideas, too. The "ImportError: File not found" is the thing I
don't get. If I had to debug, I would check if you can import a file "mysql.py"
in the cgi-bin directory instead. (One, very improbable thing could be that the
provider disabled dynamic loading of extension modules. But they would have had
to do this explicitly on Linux.)

I'd perhaps contact the provider and ask if they could install the module.

What I have done one time, is install my own copy of Python in the cgi-bin
directory. But this is normally more difficult than installing MySQLdb and it
really sucks if you don't have access via ssh.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://highqualdev.com              public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y: x+y, [chr(ord(x)^42) for x in list('zS^BED\nX_FOY\x0b')])



More information about the Python-list mailing list