Probeer dit in Windows-machine:
START
Process process = Runtime.getRuntime().exec("net START MySQL");
STOP
Process process = Runtime.getRuntime().exec("net STOP MySQL");
Probeer dit in Windows-machine:
START
Process process = Runtime.getRuntime().exec("net START MySQL");
STOP
Process process = Runtime.getRuntime().exec("net STOP MySQL");