Was the Mexican War the first battle of the US Civil War?

The Mexican, or its other name, the Mexican-US War, was in 1846. There is no direct connection to the US Civil War, other then that many of the generals of the Civil War, fought together and came to know each other.