Getting database going.