![]() We can check this by running brew info mysql. Re-start your terminal and check to see if everything was installed correctly: brew -v Install MySQLĪt the time of this writing, the default version of MySQL in Homebrew is 8.0. First, install xcode command line tools by running: xcode-select -installĪnd then paste the following command in your terminal: /usr/bin/ruby -e "$(curl -fsSL )" Installing Homebrew is probably the easiest step in the whole process. ![]() ![]() If you are a neat freak like me, when you uninstall software you don't want to worry about manually "cleaning up" all of the files that were leftover. Simply put, you can easily install and uninstall software. Homebrew won’t install files outside its prefix and you can place a Homebrew installation wherever you like. Homebrew installs packages to their own directory and then symlinks their files into /usr/local. According to its website, the two main benefits are: MySQL is one of the most popular SQL databases available today so it's a good idea to have a local installation on your computer for testing and development purposes.Īlthough there are many ways to install MySQL, in this article we'll go over how to install it using Homebrew. As a beginning web developer, you'll likely have to work or interact with databases.
0 Comments
Leave a Reply. |