Stop database script.