MySQL: Can't create/write to file

Organizations using MySQL may see an error message similar to the following when attempting to login to the system:

Login failed: An error occurred: Startup task: DatabaseIndexAndKeyManager 
failed to execute successfully: java.sql.SQLException: Can't create/write
to file 'C:\WINNT\TEMP\#sql_718_0.MYI'

This typically occurs immediately after an upgrade has been performed. In most cases, the problem can be attributed to anti-virus software running on the application server.

It is recommended that any on-access scanning be temporarily disabled so that MySQL is able to write files to the directory specified in the error message.