How can I start MySQL in a windows environment and return to the commandline when the startup finished and it is running?
If I do a
mysqld --defaults-file=... --console
the server starts but mysqld blocks while it is running.
Background for this requirement is that I want to start MySQL from a Java-Program (using Runtime.getRuntime().exec(...)) and run another program when MySQL is ready.
cmd /c start /B mysqld ...but it didn't work...net start <servername>on the command line.