Skip to content

Instantly share code, notes, and snippets.

@dividead
Last active March 1, 2017 09:07
Show Gist options
  • Save dividead/5fd4a21ef977b9f61229cb07438dbe4f to your computer and use it in GitHub Desktop.
Save dividead/5fd4a21ef977b9f61229cb07438dbe4f to your computer and use it in GitHub Desktop.
brew update/cleanup
brew install mariadb
mysql -uroot
create database xx;
ctrl+c
mysql -uroot xx < xx.sql
update user set password=PASSWORD("pass") where User='root';
brew service restart mariadb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment