Skip to content

Commit

Permalink
Documentation for connecting to MySQL docker instance #133
Browse files Browse the repository at this point in the history
  • Loading branch information
markshust committed Feb 26, 2019
1 parent 2bdbea4 commit f58f78f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ open https://magento2.test

The hostname of each service is the name of the service within the `docker-compose.yml` file. So for example, MySQL's hostname is `db` (not `localhost`) when accessing it from within a Docker container. Elasticsearch's hostname is `elasticsearch`.

Here's an example of how to connect to the MySQL cli tool of the Docker instance:

```
bin/cli mysql -h db -umagento -pmagento magento
```

### Composer Authentication

First setup Magento Marketplace authentication (details in the [DevDocs](http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html)).
Expand Down

0 comments on commit f58f78f

Please sign in to comment.