Add documentation for connecting to development MySQL shell (#637)

This commit is contained in:
Zach Wasserman
2021-04-13 11:07:39 -07:00
committed by GitHub
parent 4436f5d93f
commit 7e85d71d9c
+11
View File
@@ -3,6 +3,7 @@
- [End-to-end tests](#end-to-end-tests)
- [Email](#email)
- [Database backup/restore](#database-backuprestore)
- [MySQL shell](#mysql-shell)
- [Testing SSO](#testing-sso)
## Test suite
@@ -169,6 +170,16 @@ Restore:
Note that a "restore" will replace the state of the development database with the state from the backup.
## MySQL shell
Connect to the MySQL shell to view and interact directly with the contents of the development database.
To connect via Docker:
```
docker-compose exec mysql mysql -uroot -ptoor -Dfleet
```
## Testing SSO
Fleet's `docker-compose` file includes a SAML identity provider (IdP) for testing SAML-based SSO locally.