On your keyboard Press the Windows key and R at same time and a run box opens
Type services.msc and open services.
Scroll down to either Mysql or Firebird depending which database you used and start them.
If its disabled goto properties and set it to automatic.
Now try open sam.