Vielen Dank,
For you quick response all now works fine. Found this very usefull for the lazy people (me). 1 startup and 1 stop icon to press
add "exit" to the bottom of
apache_start.bat
- Code: Select all
@echo off
echo Diese Eingabeforderung nicht waehrend des Running beenden
echo Bitte erst bei einem gewollten Shutdown schliessen
echo Please close this command only for Shutdown
echo Apache 2 is starting ...
apache\bin\apache.exe
exit
mysql_start.bat
- Code: Select all
@echo off
echo Diese Eingabeforderung nicht waehrend des Running beenden
echo Please dont close Window while MySQL is running
echo MySQL is trying to start
echo Please wait ...
echo MySQL is starting with mysql\bin\my.cnf (console)
mysql\bin\mysqld --defaults-file=mysql\bin\my.cnf --standalone
exit
then you use the following
all_start.bat
- Code: Select all
start apache_start.bat
sleep 2
start mysql_start.bat
sleep 2
start http://localhost/phpmyadmin/index.php
all_stop.bat
- Code: Select all
@echo off
echo Mysql shutdowm ...
mysql\bin\mysqladmin --user=root --password=S3QU3NC3 shutdown
sleep 2
echo Apache shutdowm ...
apache\bin\kill.exe /f apache.exe
if not exist apache\logs\httpd.pid GOTO exit
del apache\logs\httpd.pid
:exit
HTH
Si.
PS If I remember from school (many years ago)
"Ausgezeichnetes Projekt danke"