Solenoid valve with optocoupler and transistor

The IRFZ46N is not logic level.
It will pe partially 'on' with 5volt logic, and could also get hot.
Leo..