Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions content/en/docs/contributing/build-on-macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The following has been verified to work on __macOS Mojave__. If you are new to V
[Install Homebrew](http://brew.sh/). From here you should be able to install:

```shell
brew install go@1.13 automake git curl wget mysql@5.7 etcd
brew install go@1.13 automake git curl wget mysql@5.7
```

Add `mysql@5.7` and `go@1.13` to your `PATH`:
Expand All @@ -31,6 +31,8 @@ echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/usr/local/opt/go@1.13/bin:$PATH"' >> ~/.bash_profile
```

Do not install etcd via brew otherwise it will not be the version that is supported. Let it be installed when running make build.

Do not setup MySQL or etcd to restart at login.

## Build Vitess
Expand Down Expand Up @@ -63,7 +65,7 @@ The unit tests require that you first install a Java runtime. This is required f
```shell
brew tap adoptopenjdk/openjdk
brew cask install adoptopenjdk8
brew cask info java
brew info java
```

You will also need to install `ant` and `maven`:
Expand Down Expand Up @@ -91,3 +93,8 @@ Error: 105: Key already exists (/vitess/zone1) [6]
Error: 105: Key already exists (/vitess/global) [6]
```

### /tmp/mysql.sock Already In Use
This error occurs because mysql is serving on the same port that vttgate requires. To solve this issue stop mysql service. If you have installed mysql via brew as specified above you should run:
```shell
brew services stop mysql@5.7
```