I've been using the MyTCL interface in a few of my scripts relying on a MySQL backend.
It can be found at:
http://www.spaceapes.com/mytcl/
It works flawlessly on Linux (2.4.14) and on FreeBSD (4.7,4.8). However, the compilation required a bit of tweaking for BSD. It
might be possible to compile this under cygwin in windows, though I have no experience in that matter.
Note that this interface can handle a maximum of 20 open db connections at a time. In my experience, if this limit is exceeded (by forgetting to close a connection when you are done), eggdrop will panic and crash.[/i]