Uninstalling the server in non-interactive mode
The uninstall command provides a non-interactive method to run with the --no-prompt option.
About this task
Another useful argument is the --forceOnError option that continues the uninstall process when an error is encountered. If an option is incorrectly entered or if a required option is omitted and the --forceOnError option is not used, the command fails and aborts.
Steps
-
From the server root directory, run
uninstallwith the--remove-alloption to remove all of the server’s libraries.The optional
--quietoption suppresses output information.Example:
The following command assumes that the server is standalone and not part of a replication topology:
$ ./uninstall --remove-all --no-prompt --quiet --forceOnError -
View the logs for any remaining files and manually remove any remaining files or directories.