Controlling a 5v relay, only getting 2.4v?

I was thinking of trying to connect the transistor base directly to 5v

I was thinking of trying to connect the transistor base resistor directly to 5v :wink: