You can also use this DLL:
http://reko.tiira.net/mmysql

It supports the latest MySQL 5.1 GA release, and works without libmysql DLL in the folder.