From 9460891d1cba56f92f129ab20268f640e7fdc6e9 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 19 Mar 2024 12:59:27 +0100 Subject: [PATCH] Add file 'README.update-alternatives'. --- README.update-alternatives | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.update-alternatives diff --git a/README.update-alternatives b/README.update-alternatives new file mode 100644 index 0000000..6fdc704 --- /dev/null +++ b/README.update-alternatives @@ -0,0 +1,30 @@ + + +# list available targets +# +update-alternatives --list my.cnf + +# show further information including current selection, best selection and priority, where +# a higher value has priority (automatic selection) +# +update-alternatives --display my.cnf + + +# To select a specific implementation, use the following command as root and then select +# a number from the list: +# +# also useful to see the current selection +# +update-alternatives --config my.cnf + + +# Return to automatic selection +# +update-alternatives --auto my.cnf + + +# delete an alternative +# +# update-alternatives --remove my.cnf +# +update-alternatives --remove my.cnf /usr/local/mysql/etc/my.cnf