I wrote a MySQL client implementation, not complete, but enough for simple selects. It supports user/password authentication with challenge-response. You can get it at http://www.stacken.kth.se/projekt/yxa/mysql-0.1.tar.gz Any feedback is welcome. /Magnus