use mysql as datasource