From 7e85d71d9ca04eb68a3bc72f2be55e0c0b5aaa05 Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Tue, 13 Apr 2021 11:07:39 -0700 Subject: [PATCH] Add documentation for connecting to development MySQL shell (#637) --- docs/3-Contribution/2-Testing.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/3-Contribution/2-Testing.md b/docs/3-Contribution/2-Testing.md index f9940fbb9d..b334213daa 100644 --- a/docs/3-Contribution/2-Testing.md +++ b/docs/3-Contribution/2-Testing.md @@ -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.