First step towards MySQL integration