Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add emphasis on connecting to **remote** DB in tutorials #481

Merged
merged 1 commit into from
Sep 9, 2022
Merged
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
4 changes: 3 additions & 1 deletion content/kb/tutorials/databases/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: /knowledge-base/tutorials/databases/mongodb

## Introduction

This guide explains how to securely access a MongoDB database from Streamlit Cloud. It uses the [PyMongo](https://github.com/mongodb/mongo-python-driver) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).
This guide explains how to securely access a **_remote_** MongoDB database from Streamlit Cloud. It uses the [PyMongo](https://github.com/mongodb/mongo-python-driver) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).

## Create a MongoDB Database

Expand Down Expand Up @@ -41,6 +41,8 @@ password = "xxx"

<Important>

When copying your app secrets to Streamlit Cloud, be sure to replace the values of **host**, **port**, **username**, and **password** with those of your _remote_ MongoDB database!

Add this file to `.gitignore` and don't commit it to your Github repo!

</Important>
Expand Down
4 changes: 2 additions & 2 deletions content/kb/tutorials/databases/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: /knowledge-base/tutorials/databases/mssql

## Introduction

This guide explains how to securely access a remote Microsoft SQL Server database from Streamlit Cloud. It uses the [pyodbc](https://github.com/mkleehammer/pyodbc/wiki) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).
This guide explains how to securely access a **_remote_** Microsoft SQL Server database from Streamlit Cloud. It uses the [pyodbc](https://github.com/mkleehammer/pyodbc/wiki) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).

## Create an SQL Server database

Expand Down Expand Up @@ -112,7 +112,7 @@ password = "xxx"

<Important>

When copying your app secrets to Streamlit Cloud, be sure to replace the values of **server**, **database**, **username**, and **password** with those of your remote SQL Server!
When copying your app secrets to Streamlit Cloud, be sure to replace the values of **server**, **database**, **username**, and **password** with those of your _remote_ SQL Server!

And add this file to `.gitignore` and don't commit it to your Github repo.

Expand Down
4 changes: 3 additions & 1 deletion content/kb/tutorials/databases/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: /knowledge-base/tutorials/databases/mysql

## Introduction

This guide explains how to securely access a MySQL database from Streamlit Cloud. It uses the [mysql-connector-python](https://github.com/mysql/mysql-connector-python) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).
This guide explains how to securely access a **_remote_** MySQL database from Streamlit Cloud. It uses the [mysql-connector-python](https://github.com/mysql/mysql-connector-python) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).

## Create a MySQL database

Expand Down Expand Up @@ -50,6 +50,8 @@ password = "xxx"

<Important>

When copying your app secrets to Streamlit Cloud, be sure to replace the values of **host**, **port**, **database**, **user**, and **password** with those of your _remote_ MySQL database!

Add this file to `.gitignore` and don't commit it to your Github repo!

</Important>
Expand Down
4 changes: 3 additions & 1 deletion content/kb/tutorials/databases/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: /knowledge-base/tutorials/databases/postgresql

## Introduction

This guide explains how to securely access a PostgreSQL database from Streamlit Cloud. It uses the [psycopg2](https://www.psycopg.org/) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).
This guide explains how to securely access a **_remote_** PostgreSQL database from Streamlit Cloud. It uses the [psycopg2](https://www.psycopg.org/) library and Streamlit's [secrets management](/streamlit-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management).

## Create a PostgreSQL database

Expand Down Expand Up @@ -46,6 +46,8 @@ password = "xxx"

<Important>

When copying your app secrets to Streamlit Cloud, be sure to replace the values of **host**, **port**, **dbname**, **user**, and **password** with those of your _remote_ PostgreSQL database!

Add this file to `.gitignore` and don't commit it to your Github repo!

</Important>
Expand Down