Write in mysql