Socket Problems

Colin Putney cputney at wiresong.ca
Fri Sep 12 19:18:56 UTC 2003


Lukas,

I've run into similar problems using MySQL from Squeak. Usually it was 
because some kind of synchronization problem or the Mysql driver not 
reacting well to something my app did.

IMO, the first thing you need to find out is whether the server is 
closing the connection, and if so, why. Yanni's suggestion about the 
post master log level is very good. You might also consider using a 
packet sniffer to monitor the connections at the OS level. This might 
involve a lot of groveling through hex dumps, but it will definitely 
tell you what's going on.

Another thing you might try is switching clients. Diego's ODBC package 
works quite well. It makes deployment more difficult though, and might 
require some reworking of your application, so I'd only do that as a 
last resort.

Hope this helps,

Colin



More information about the Squeak-dev mailing list