I installed MySQL on Kali Linux and I enabled it using
sudo systemctl enable --now mysql
I am afraid since it opens a port that it can be exploited so after finishing I run
sudo systemctl disble --now mysql
Is it required to do it?
Will it affect my PC if I don't do it?
Why should I enable it while I am using it to create an offline program?