Remove old mysql resources