Skip to content
Open
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
6 changes: 5 additions & 1 deletion docs/220-Migrate Data/10-migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ import Screenshot from "@site/src/components/Screenshot";

- Specify MongoDB connection details
- Enter the URI, database, username and password for your MongoDB cluster.
- If you are using Atlas, you can retrieve the details from the [Atlas portal](https://cloud.mongodb.com).
- If you are running this in Instruqt, a Codespace or locally with Docker, you can use the following connection string:
```
mongodb://admin:mongodb@mongodb:27017/library?authSource=admin
```
- If you are using Atlas, you can retrieve the details from the [Atlas portal](https://www.mongodb.com/docs/manual/reference/connection-string/#find-your-mongodb-atlas-connection-string).
- `Test connection`.
- Click on `Connect`.

Expand Down
3 changes: 0 additions & 3 deletions docs/50-create-project/60-connect-database.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ Enter the details for the PostgreSQL database you will be migrating from.

- It's important to click on the `SSL` tab and activate `Use SSL` (`SSL mode` Prefer is fine), otherwise we won't be able to connect to cloud hosted databases.
- If your instructors have configured a server for you to use, ask them for the host name, username and password.
:::info
👐 If you have followed the steps to configure PostgreSQL in Instruqt / GitHub Codespaces, the hostname will be `localhost`, username `postgres` and password `postgres`.
:::
- Click back on the `General` tab and enter the database name as `library`.
- Check the `Save password` box if you want to save the password for future connections.
- Click `Test Connection` to ensure your details are correct. You should see a message saying "PostgreSQL database connection successful."
Expand Down