A 5.0-magnitude earthquake occurred near the Andaman Islands west of Thailand early Wednesday, no causalities were reported.