Cannot shut down mySQL with batch file. (2 posts)

  1. geraldisaacs
    Posted 7 years ago #

    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
    SLEEP 1

    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.

  2. Dagon Design
    Posted 7 years ago #

    Try taking off the 'bin\' from in front of the process.exe calls.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.