Hessel_NL wrote:
It did not found any MYSQL or Homebrew, I think the upgrade deleted everything......
Homebrew strikes again!
The operating system upgrade didn't delete anything, but your Homebrew installation was not compatible. Why did you install Homebrew in the first place? Because to fix this, you're going to need a crash course in advanced unix configuration. You essentially have to reverse engineer everything Homebrew did and undo it.
Another option is to just erase your hard drive and reinstall the operating system. Normally I tell people to avoid restoring any software, apps, system settings, or "other files". They can safely reinstall user accounts and user files. But this actually might not work for Homebrew. It might have corrupted some user files. However, even if it did that, you could at least create a new account and use that account and it's fresh command-line configuration to fix your current account. Then, you can reinstall MySQL correctly and move forward.
Good luck!