Error 1067 in starting Xampp Mysql in Windows with linux like config signature

502 Views Asked by At

I said "Linux-like config signature", which means I'm trying to run Mysql in Windows but mysql error shows linux-like file path.

I'm new to Xampp and I don't know exactly how it works.I simply runned xampp setup tool from Xampp control panel.

I try to carry Xampp with my Portable HDD and set-up xampp in portable mode.It works in my own computer but in all the other computers,Mysql didn't start with error 1067.I found this console output.

Even in my local computer,when I tried to setup Xampp for the first time,I had to put the whole Xampp directory into Local C: drive and after setup I've to copy the folder from C: to my External HDD.Then setup again.If I setup from HDD for the first time,the above error comes out even in my own local computer. "My external HDD have a ext4 partition and NTFS partition." I think the error comes out because Xampp set-up tools finds the ext4 partition and it thinks that my OS is Linux when it first run in my external HDD.

E:\xampp\mysql\bin>mysqld --console
121127 14:36:42 [Warning] Can't create test file \usr\local\mysql\data\W39.lower
-test
121127 14:36:42 [Warning] Can't create test file \usr\local\mysql\data\W39.lower
-test
mysqld: Can't change dir to '\usr\local\\mysql\data\' (Errcode: 2)
121127 14:36:42 [ERROR] Aborting

121127 14:36:42 [Note] mysqld: Shutdown complete
0

There are 0 best solutions below