I can't remember what Moodle 1.1.1 was like (it is ancient) but there is probably a setting in your config.php in the database setup section like
$CFG->dbpersist = true;
I would recommend setting that to
$CFG->dbpersist = false;
which is the default setting in current Moodles exactly because of problems of the sort you describe.