Bug #43724 temporary directory on Windows in documentation
Submitted: 18 Mar 2009 11:21 Modified: 20 Aug 2009 10:19
Reporter: Hans Ginzel Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.1.30-community OS:Windows (XP)
Assigned to: MC Brown CPU Architecture:Any
Tags: temporary directory

[18 Mar 2009 11:21] Hans Ginzel
Description:
Please add which directories are used on MS Windows when TMPDIR is not set?

How to repeat:
http://dev.mysql.com/doc/refman/5.1/en/temporary-files.html

Suggested fix:
%TMP%, %TEMP%, C:\..., DataDir?
[23 Mar 2009 23:18] MySQL Verification Team
Thank you for the bug report. The workaround is to use the command set to see the TMP and TEMP values.
[20 Aug 2009 10:19] MC Brown
The current documentation already states: 

On Windows, Netware and OS2, MySQL checks in order the values of the TMPDIR, TEMP, and TMP environment variables. For the first one found to be set, MySQL uses it and does not check those remaining. If none of TMPDIR, TEMP, or TMP are set, MySQL uses the Windows system default, which is usually C:\windows\temp\.