Added database name to lockfile