OK, so I did it manually as you suggested, that was interesting:
From the CMD line,
with MySQL supposedly installed as a service from the XAMPP panel:
- Code: Select all
C:\Program Files\xampp\mysql\bin>mysqld --remove
The service doesn't exist!
C:\Program Files\xampp\mysql\bin>mysqld --remove
The service doesn't exist!
C:\Program Files\xampp\mysql\bin>mysqld --install
Service successfully installed.
C:\Program Files\xampp\mysql\bin>net start mysql
The MySQL service is starting.
The MySQL service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
any idea what that could be? (from services.msc, the MySQL service is installed, I tried rebooting, same as initially, XAMPP thinks it is installed as a service, but it doesn't run)
also now I can't start MySQL from XAMPP either (i.e. I had to use mysqld --remove from the CMD line, then I could start it from XAMPP)
At least this explains the difference between my original post (mysql svc checked) and after the first reboot. Maybe provides some clues to the cause of the problem too?