Hi. I've made port for plugin, but after two days plugin stoped loading in MySQL. http://host129.rax.ru/ports/handlersocket-mysql51-plugin.tar.bz2 Please, test this port on MySQL 5.1. Now it's building from github and doesn't have stable version. Thanks to Sahil Tandon for workaround with mysql sources.