Chris Quenelle - 2007-06-09

I'm using:

MySQL-python-1.2.2
Django-0.96
mysql Ver 12.22 Distrib 4.0.24, for sun-solaris2.11 (sparc)

I kept getting errors trying to open a connection. The error was something
like "mySQL too old to set character set".

I had to comment out this line in connections.py

    if not charset:
        charset = self.character_set_name()

--> # self.set_character_set(charset)

Now it seems to work. But I haven't gone very far past this point, so maybe
it's still busted. It would have been nice to see the "old" charset
and the "new" charset in the error message. I would have been happy to config
mysqldb to use whatever my default charset was, but I couldn't figure it out.
(I'm not really comfortable with python debugging yet)