There seems to be another problem with mysql reconnects and charsets.
I was wondering a bit about these reconnects, when do they occur in practice? Is it when the mysql server restarts?
/.../ To me it seems like the server is actually expecting utf8 and encounters a malformed sequence. Even though pike is sending 'SET character_set_client = latin1'. /.../
And that bug only starts to occur after a reconnect?
To me it certainly looks like a mysql bug. What mysql versions have you seen it with? Do the mysql lists and bug database say anything about it?