Mysql do not start

Sometimes some antivirus (like kaspersky) or the same windows security blocks the startup of mysql preventing the correct functioning of the software created.

With the antivirus we have to take manually to correct the problem that create the exception. When windows block the mysql, even starting the software in administrator mode, the mysql do not starts.

Is there a way to avoid manual intervention? (for example by changing the mysql ports or creating an exception in windows firewall during the installation). Is it a mysql problem and we should use another standalone db like sqlite to avoid this problem because there aren’t solutions?

thanks

MySQL requires a port for its connections. You can change the port in ExeOutput when you configure MySQL. But Windows Defender will always ask whether you want to allow the port or not.
If you don’t want that, you can also use SQLite which doesn’t require any port nor third-party server.