Skip to content

Commit

Permalink
Add how to connect to the mysql database from host machine to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsamshuijzen committed May 4, 2024
1 parent 287acb9 commit 9fe153b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@ sudo -u www-data /usr/bin/php8.0 artisan db:seed
sudo -u www-data /usr/bin/php8.0 artisan storage:link
```

## Connecting to the mysql database from local machine

To connect from the host machine to the mysql database used by msl_api use the following command:

```
vagrant ssh epos-msl -- -L 3306:127.0.0.1:3306 -N epos-msl
```

While running, you can connect to the database using the default credentials.

## Configuration

The main configuration settings are:
Expand Down

0 comments on commit 9fe153b

Please sign in to comment.