Did it rain 2 million years ago?

About 232 million years ago, during a span known as the Carnian age, it rained almost everywhere. After millions of years of dry climates, Earth entered a wet period lasting one million to two million years. Nearly any place where geologists find rocks of that age, there are signs of wet weather.

Meaning before that, it did not rain?

Yes, all are balanced.