Prøv dette i Windows-maskine:
START
Process process = Runtime.getRuntime().exec("net START MySQL");
STOP
Process process = Runtime.getRuntime().exec("net STOP MySQL");
Prøv dette i Windows-maskine:
START
Process process = Runtime.getRuntime().exec("net START MySQL");
STOP
Process process = Runtime.getRuntime().exec("net STOP MySQL");