Bug #97201 Uninstalling MySQL on a Mac deletes the /usr/local directory
Submitted: 11 Oct 2019 12:12 Modified: 16 Oct 2019 6:56
Reporter: Rathin Bhargava Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: Installing Severity:S1 (Critical)
Version:8.0.17 OS:Mac OS X (10.14.6)
Assigned to: CPU Architecture:Any

[11 Oct 2019 12:12] Rathin Bhargava
Uninstalling MySQL on a Mac deletes everything in the /usr/local directory. This only happens when we don't delete all the support files initially and then delete everything. I have reproduced this bug twice. 

How to repeat:
1. Install MySQL
2. Click 'unistall' via System Preferences -> MySQL
3. You're prompted to check a box "Also uninstall this preference pane and all launchd support files"
4. Do not click the box and click OK.
5. Click the uninstall button again, but this tie check the box. 
6. See that your /usr/local directory is now blank and 15+ GB of data is now missing

Suggested fix:
I have no idea
[16 Oct 2019 6:56] Umesh Shastry
Hello Rathin,

Thank you for the report and feedback.

[21 Oct 2019 9:39] Umesh Shastry
Bug #96981 marked as duplicate of this one