HOW DO I MOVE THE MY.CNF FILE?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

HOW DO I MOVE THE MY.CNF FILE?

Postby RSXHiTMAN » 28. January 2007 01:15

i cant start mysqld or mysql-nt because it gives me system error 1067, it looks for the my.cnf file in c:\my.cnf.

I dont want it to look there, how do i make it look for the file within its own directory instead of c:\my.cnf
RSXHiTMAN
 
Posts: 4
Joined: 28. January 2007 01:11

Postby Wiedmann » 28. January 2007 01:32

Remove the MySQL service and reinstall ist.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby RSXHiTMAN » 28. January 2007 01:46

what is "ist" and how do i reinstall it
RSXHiTMAN
 
Posts: 4
Joined: 28. January 2007 01:11

Postby Wiedmann » 28. January 2007 02:22

what is "ist"

"it".

and how do i reinstall it

1. "sc delete mysql"
2. "mysql_installservice.bat"
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby RSXHiTMAN » 28. January 2007 03:06

its on windows 2000 so i dont think the sc command works

i did --remove and then ran the mysql_installservice.bat and it says

the system cannot find the path specified


i guess its referring to the "my.cnf" file in the c:\
RSXHiTMAN
 
Posts: 4
Joined: 28. January 2007 01:11

Postby Wiedmann » 28. January 2007 03:32

its on windows 2000 so i dont think the sc command works

"sc" is part of the W2k resource kit:
ftp://ftp.microsoft.com/reskit/win2000/sc.zip
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 124 guests