I'm using a portable MariaDB (10.3.31) for a program written in Java.
When the program starts the database server starts like this:
Runtime.getRuntime().exec(path + "\\database\\bin\\mysqld.exe --port=15001");
So far so good. The server starts with no problem.
But I'm not able to shutdown the database server:
Runtime.getRuntime().exec(path + "\\database\\bin\\mysqladmin -u root -p shutdown");
By the way, I'm using Windows 10.
0 Replies