Starting MySQL handler code