Chosen Solution

I usually leave my mac mini on at all times, but I came back to it and it was powered off. I tried unplugging it, and using a different power cord but nothing works and the led on the front doesn’t come on either. I replaced the power supply with one from ifixit, but that still wasn’t successful. Does anyone have any ideas? Hope its not the logic board.

Try SMC and PRAM/NVRAM resets. How to reset the SMC, PRAM and NVRAM on a Mac Desktop

Its a 2011 so it could be dead logic board.