Added MYSQL support, based on dl6kbg version