libmysqld.dll almost working in python...

R

Rajas Sambhare

Hi,

This is a followup on a previous thread by JZ
http://groups.google.com/groups?hl=...=ki39sv8s7ui622uriis8mfsg1daca34qqu%404ax.com

The mysql-python page at sourceforge.net contains beta versions of
mysqldb (specifically 0.9.3b2). This does have the necessary embedded
server support. Some amount tweaking of setup.py is required (namely
pointing the lib variable to the correct directory (usually
c:/mysql/Embedded/DLL/Release). The library builds and installs, and
typing import MySQLdb at the python prompt loads LIBMYSQLD.DLL.

What happens then though, is that calling MySQLdb.server_init with the
correct parameters causes the python IDE to crash, with an access
violation in LIBMYSQLD.DLL.

I checked a bit and it seems the flag USE_TLS has to be set for the
mysys project in the mysql source.
http://dbforums.com/arch/156/2002/11/554910
I did this, created a new libmysqld.dll etc, and recompiled mysqldb
0.9.3b2, but the problem continues. Does anybody know how to avoid
this?

Thanks

Rajas Sambhare
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top