Instead of risking being killed by Araneos and Pulmonoscorpius in a cave while trying to tame a Megalosaurus, a much easier way to tame it is to kill a high level, then revive it at an obelisk.

More Megalosaurus Taming & KO Tips