Fixed compile error on windows with strsignal
Added support for MySQL 5.6