Tech Tip:Why to Exclude windows temp folder from anti-virus scan

Document created by moksa01 Employee on Dec 8, 2014Last modified by SamCreek on Dec 17, 2016
Version 2Show Document
  • View in full screen mode

The Windows temp folder in the AV scan exclusion list is due to MySQL. Our product uses MySQL database, MySQL recommends excluding the temp folder to prevent possible corruption to the database:

 

MySQL and Virus Checking Software:

 

Virus-scanning software such as Norton/Symantec Anti-Virus on directories containing MySQL data and temporary tables can cause issues, both in terms of the performance of MySQL and the virus-scanning software misidentifying the contents of the files as containing spam. This is due to the fingerprinting mechanism used by the virus-scanning software, and the way in which MySQL rapidly updates different files, which may be identified as a potential security risk.

 

After installing MySQL Server, it is recommended that you disable virus scanning on the main directory (datadir) used to store your MySQL table data. There is usually a system built into the virus-scanning software to enable specific directories to be ignored.

 

In addition, by default, MySQL creates temporary files in the standard Windows temporary directory. To prevent the temporary files also being scanned, configure a separate temporary directory for MySQL temporary files scanned, configure a separate temporary directory for MySQL temporary files and add this directory to the virus scanning exclusion list. To do this, add a configuration option for the tmpdir parameter to your my.ini

configuration file. For more information, see Section 2.3.6.2,  Creating an Option File.

 

http://dev.mysql.com/doc/refman/5.1/en/windows-installation.html

2 people found this helpful

Attachments

    Outcomes