2009/6/25 Billy <[email protected]>:
>
> Hello ,
> I use
> mod_wsgi/2.3  and Python/2.3.5
> From time to time I get
>
> InterfaceError: (0, '')
>
>  File "/userhome/djangosource/django/core/db/backends/mysql.py", line
> 69, in
> cursor
>    if self.connection.get_server_info() >= '4.1':
>
> InterfaceError: (0, '')
>
> Can anyone help please?

Possibilities are that you are using an old buggy version of Python
MySQL bindings, or you are using mod_php in the same Apache and it is
using a single thread MySQL client library but Python MySQL extension
module is expecting a thread safe variant of MySQL client library.

What version of Python MySQL bindings are you using? What MySQL
library version and variant is that using? And is mod_php configured
into same Apache?

You are also using old versions of mod_wsgi and Python.

Anyway, a search with Google for 'InterfaceError mysql python' yields
lots of discussion on this.

Graham

Graham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to