Implement mysql pool