First step towards mysql support