Fixed logstash DB input plugin, tested and working with mysql.

Signed-off-by: ohanetz <o.hanetz@gmail.com>