reset-db restarts mysql only when a change is made

Reset-db should not restart the mysql service unless it needs to.

Change-Id: I102dedb00d589661b57768e8966995bda2e22ed8
Merge "reset-db restarts mysql only when a change is made"