This MySQL driver for Erlang is based on the http://svn.process-one.net/ejabberd-modules/mysql/. It includes multistatement and multiresultset(i.e. stored procedures)