Use mysql as database