I am trying to install lightTPD, using tutorial at http://blogbuildingu.com/wordpress/install-wordpress-wlmp
preparatory to installation of WP 2.7.
This excellent tutorial worked flawlessly except that the batch file ‘stop-lighttpd.bat’ does not close mysqld-nt.exe. I have added c:\Program Files\mysql\mysql server 5.0\bin to my path but that did not help.
Content of the batch file:
ECHO Stopping MySQL…
bin\process.exe -k mysqld-nt.exe >nul
ECHO Stopping LightTPD…
bin\process.exe -k lighttpd.exe >nul
ECHO Stopping PHP FastCGI…
bin\process.exe -k php-cgi.exe >nul
The command ‘bin\process.exe -k mysqld-nt.exe’ returns Error 0x6 : The handle is invalid.
My path includes c:\Program Files\MySQL\MySQL Server 5.0\bin;
That is the directory containing mysqld-nt.exe
Any help would be appreciated.
- The topic ‘Cannot shut down mySQL with batch file.’ is closed to new replies.