Bug #5690 new install wizard creates bogus my.cnf
Submitted: 22 Sep 2004 2:15 Modified: 26 Sep 2004 21:59
Reporter: friedhelm betz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:Windows Essentials 4.1.5-gamma OS:Microsoft Windows (xp/sp2)
Assigned to: Michael G. Zinner CPU Architecture:Any

[22 Sep 2004 2:15] friedhelm betz
Description:
Hi,
using the new essential package I decided to use the custom location, where all my servers live: e:\server\mysql415. Obviously not a good choice as eventviewer gives the reason for the failed service install:
Can't find messagefile 'E: erver\mysql415\share\english\errmsg.sys'
Note the missing s before server.
The genarated my.cnf in e:\server\mysql415 (comments and non relevant parts stripped):
[client]
port=33415
[mysqld]
port=33415
basedir=E:\server\mysql415\
datadir=E:\server\mysql415\Data\

The obvious problem is \s in the paths, which should be handled by he wizard (also the rest of the special chars like \t ...)
Btw.: the new wizard is very nice;-)

How to repeat:
Let the wizard install in a directory starting with first letter s, e.g.:
c:\server

Suggested fix:
either use \\ path seperators or forward slashes / solves the problem.
[26 Sep 2004 10:06] Michael G. Zinner
Thanks for the detailed bug report. This issue has now been addressed and will be in the next release 4.1.6. We are now using quotes for filepath.

Example:
#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:\Programme\MySQL\MySQL Server 4.1\"

#Path to the database root
datadir="C:\Programme\MySQL\MySQL Server 4.1\Data\"