reset mysql query for shell back