Improve mysql component