I've installed MySQL on a Mac via brew.
I do constant brew updates but MySQL keeps telling me it has a new version.
Does brew update not update MySQL?
If so then how should I do it? Manually?
By default, the MySQL directories are installed under /usr/local/ . Even better, add /usr/local/mysql/bin to your PATH environment variable. You can do this by modifying the appropriate startup file for your shell. For more information, see Invoking MySQL Programs.
No, brew update only updates Homebrew itself including retrieving the latest list of formulas/packages available.
Once you have ran brew update you can then upgrade all formulas/packages using:
brew upgrade To upgrade a particular package you can use the brew upgrade command like:
brew upgrade mysql Before running an upgrade you may want to know what can be or is going to be upgraded using the command:
brew outdated NOTE always remember to read the post install/upgrade notes that are output. Some packages require manual steps post install/upgrade like major database version upgrades often require data upgrade/migration procedures to be run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With