Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 7 additions & 2 deletions examples/compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,18 @@ vitess/examples/compose$ ./client.sh

### Connect to vgate and run queries
vtgate responds to the MySQL protocol, so we can connect to it using the default MySQL client command line.
You can also use the `./lmysql.sh` helper script.
```
vitess/examples/compose$ mysql --port=15306 --host=127.0.0.1
vitess/examples/compose$ ./lmysql.sh --port=15306 --host=127.0.0.1
```
**Note that you may need to replace `127.0.0.1` with `docker ip` or `docker-machine ip`**

You can also use the `./lmysql.sh` helper script.
```
vitess/examples/compose$ ./lmysql.sh --port=15306 --host=<DOCKER_HOST_IP>
```

where `<DOCKER_HOST_IP>` is `docker-machine ip` or external docker host ip addr

### Play around with vtctl commands

```
Expand Down
Empty file modified examples/compose/lmysql.sh
100644 → 100755
Empty file.