I got errors when trying to use mysql/mysql_installservice.bat to install MySQL as a service. But I was able to do it manually as follows:
Copied mysql\my.cnf to c:\my.ini
From command prompt window in mysql/bin directory:
- Code: Select all
mysqld-nt --install mysql --defaults-file=c:\my.ini
I also removed the Windows file association for .cnf, since that made it difficult to manipulate my.cnf.
I had installed XAMPP in c:\Program Files\xampp. I saw a note at mysql.com about mysqld having problems with spaces in the directory name, but that note referred to MySQL < 4.0.17, and XAMPP 1.4.9 uses MySQL 4.0.21, so I wouldn't think that problem would apply.
Other than that, I had no problems with installing XAMPP.