After Using command in terminal: sudo rm -rf /usr/local/mysql * My desktop on my mac is not working anymore. it can not even store files. can anyone help me? thank you very much
Oh dear. Is this exactly the command you entered, including the space before the final *
character?
sudo rm -rf /usr/local/mysql *
As you have discovered, this command (with the mistaken space) basically destroys your user account and its local data. Hopefully by now you are well along on restoring or recreating everything from backup or from iCloud or wherever. This isn't the right forum for getting support on repairing your system.
But let me ask this: where did you get the instructions that included that command? I can find a few "how to remove MySQL" instructions online that don't seem to include any obvious destructive mistakes like this. But if there is some page out there containing this mistake, it would be best to alert its author to get it fixed before anyone else suffers the same fate.
Or if the mistake was introduced just when you were typing in the command yourself, well that's better, I guess.