refactor mysql, proxy now cannot run