Bug #8604 Provide alternative way to encode backslash in windows pathes?
Submitted: 18 Feb 2005 15:45 Modified: 25 Oct 2005 8:25
Reporter: Hartmut Holzgraefe Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:any OS:Microsoft Windows (windows)
Assigned to: CPU Architecture:Any
Triage: Triaged: D5 (Feature request)

[18 Feb 2005 15:45] Hartmut Holzgraefe
Description:
Currently backslashes in Windows pathes need to be either converted into regular
unix-style slashes or escaped as double backslashes.

This seems to be sort of a problem when my.ini files are created programaticly.

Suggestion: 

Have my.ini treat strings like PHP does -> do not require escaping for strings put in single qoutes and take everything in there as verbatim characters instead

How to repeat:
datadir=C:\new-mysql   -> would become C:ew-mysql as \n is a special character sequence

Suggested fix:
support 

datadir='C:\new-mysql'

(note the single quotes)