From 21ce5716c0208b890f31936c80d05e06a2d661af Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 29 Dec 2022 15:45:30 +0530 Subject: [PATCH] docs: updated procedure for connecting to ext-db --- .../content/en/setup-and-usages/dashboard.md | 34 ++++++++++++------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/packages/noco-docs/content/en/setup-and-usages/dashboard.md b/packages/noco-docs/content/en/setup-and-usages/dashboard.md index 09e8165855..c5177f30d5 100644 --- a/packages/noco-docs/content/en/setup-and-usages/dashboard.md +++ b/packages/noco-docs/content/en/setup-and-usages/dashboard.md @@ -22,32 +22,42 @@ Enter your work email and your password. Once you have logged into NocoDB, you should see `My Projects`. -image +![Screenshot 2022-12-29 at 2 54 43 PM](https://user-images.githubusercontent.com/86527202/209932699-743ffea2-986f-443f-8198-f56b597de706.png) + -To create a project, you can click `New Project`. You can choose create an empty project or a project connecting to an external database. - -image +To create a new project, you can click `New Project`. + -### Creating Empty Project - -Click `Create Project`, you need to specify the project name. The data will be stored in `NC_DB`. If it is not specified, a local SQLite will be created and used. +You need to specify the project name. The data will be stored in `NC_DB`. If it is not specified, a local SQLite will be created and used. NC_DB is an environment variable used to store the meta data in the given database. -image +![Screenshot 2022-12-29 at 2 54 57 PM](https://user-images.githubusercontent.com/86527202/209932936-8fe7334c-1a94-4073-ba19-478efb620808.png) + ### Connecting to External Database -Click `Create By Connecting To An External Database`, you need to specify the project name, API type, and other database parameters. +Click on three-dot menu adjacent to `BASES`. Pick required database option from the menu `Connect to new datasource`. Tip: If you are running NocoDB on Docker and your local DB is running on your host machine, your Host Address would be host.docker.internal instead of localhost. - -image - + + + +![Screenshot 2022-12-29 at 2 55 39 PM](https://user-images.githubusercontent.com/86527202/209933294-9327ff16-21db-4aca-bf16-8cea8a1eb415.png) + +Above menu is also accessible from `Team & Settings` > `Data Sources`. Click on `New` button to add existing database. + + +![Screenshot 2022-12-29 at 3 16 36 PM](https://user-images.githubusercontent.com/86527202/209936942-f82a293f-2e91-48da-b9cd-79ec143d7d6f.png) + +You need to specify the project name, API type, and other database parameters. + +![Screenshot 2022-12-29 at 2 56 25 PM](https://user-images.githubusercontent.com/86527202/209933326-e76eee13-4942-4ba8-b184-a28099c089ab.png) + Currently it supports MySQL, Postgres, MSSQL and SQLite. You can also configure associated SSL & advanced parameters.