- Ensure that the database backup performed earlier has completed successfully and that you are able to locate the database backup file.
- Open System Preferences.
- Click MySQL.
The status of MySQL is displayed.
- If MySQL is running, click Stop MySQL.Important:
Do not continue with the steps in this workflow until the MySQL pane in System Preferences reports that MySQL is stopped.
- Open Terminal.
- Remove all my MySQL files by executing the following commands:
sudo rm -rf /usr/local/mysql sudo rm -rf /Library/StartupItems/MySQLCOM sudo rm -rf /Library/PreferencePanes/My sudo rm -rf /Library/Receipts/mysql sudo rm -rf /Library/Receipts/MySQL sudo rm -rf /var/db/receipts/com.mysql. sudo rm -rf /var/mysql sudo rm -f /etc/my.cnf sudo rm -f /usr/bin/mysql sudo rm -r /Library/LaunchDaemons/mysql sudo rm -r /Library/LaunchAgents/mysql sudo rm -r /System/Library/LaunchDaemons/mysql sudo rm -r /System/Library/LaunchAgents/mysqlNote:Some of the above commands may return "No such file or directory", depending on which directories are present in your particular Jamf Pro server. If the file path has been typed correctly, you may ignore "No such file or directory" errors and continue with the workflow.
- Restart the server.