Skip to content

Instantly share code, notes, and snippets.

View fmendozaro's full-sized avatar
🍵
[Drinks tea in Spanish]

Fernando Mendoza R. fmendozaro

🍵
[Drinks tea in Spanish]
View GitHub Profile
@fmendozaro
fmendozaro / MySQL_5-7_macOS.md
Created May 22, 2020 15:18 — forked from robhrt7/MySQL_5-7_macOS.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
@fmendozaro
fmendozaro / fix_mysql_install
Created May 22, 2020 15:01 — forked from ryanorsinger/fix_mysql_install
Reinstall MySQL on a laptop that had an old version of homebrew installed
brew uninstall mysql
rm -rf /usr/local/var/mysql
sudo chown -R $(whoami) $(brew --prefix)/*
brew install mysql@5.7
If there are other problems, check out the link below:
https://gist.github.com/operatino/392614486ce4421063b9dece4dfe6c21