mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.7 KiB
69 lines
2.7 KiB
3 years ago
|
---
|
||
1 year ago
|
title: 'Data Sources'
|
||
2 years ago
|
description: 'NocoDB Data-Source sync, access control & re-config'
|
||
3 years ago
|
---
|
||
|
|
||
2 years ago
|
## Overview
|
||
|
|
||
2 years ago
|
`Data Sources` sub-menu includes
|
||
|
- Database Metadata
|
||
|
- UI Access Control
|
||
|
- ERD
|
||
|
- Add/Remove new data source
|
||
|
- Edit existing data source configuration
|
||
|
- Edit data source visibility options
|
||
3 years ago
|
|
||
2 years ago
|
Note that, currently only one external data source can be added per project.
|
||
2 years ago
|
|
||
2 years ago
|
## Accessing Data Sources
|
||
3 years ago
|
|
||
2 years ago
|
To access it, click the down arrow button next to Project Name on the top left side, then select `Team & Settings` and clicking `Data Sources`.
|
||
3 years ago
|
|
||
1 year ago
|
<img width="322" alt="image" src="https://user-images.githubusercontent.com/35857179/194856648-67936db0-ee4d-4060-be3d-af9f86ef8fc6.png" />
|
||
3 years ago
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219833316-1fb234f0-583f-4ab8-b8d7-a6e249e7cd97.png)
|
||
3 years ago
|
|
||
2 years ago
|
## Sync Metadata
|
||
3 years ago
|
|
||
1 year ago
|
Go to `Data Sources`, click ``Sync Metadata``, you can see your metadata sync status. If it is out of sync, you can sync the schema. See [Sync Schema](/setup-and-usages/sync-schema) for more.
|
||
3 years ago
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219833485-3bcaa6ec-88bc-47cc-b938-5abb4835dc31.png)
|
||
3 years ago
|
|
||
|
## UI Access Control
|
||
|
|
||
2 years ago
|
Go to `Data Sources`, click ``UI ACL``, you can control the access to each table by roles.
|
||
3 years ago
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219833072-20e9f4ad-fd1c-4e96-9112-6edda1447ec6.png)
|
||
2 years ago
|
|
||
|
## ERD
|
||
|
|
||
2 years ago
|
Go to `Data Sources`, click ``ERD``, you can see the ERD of your database.
|
||
2 years ago
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219832288-f6266544-a259-4667-95d9-0e5ce7ac5d27.png)
|
||
2 years ago
|
|
||
2 years ago
|
### Junction table names within ERD
|
||
|
|
||
2 years ago
|
- Enable `Show M2M Tables` within `Project Settings` menu
|
||
2 years ago
|
- Double click on `Show Columns` to see additional checkboxes get enabled.
|
||
|
- Enabling which you should be able to see junction tables and their table names.
|
||
2 years ago
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219832436-9c1311c3-854c-4b31-9c94-8035dfba2a2b.png)
|
||
2 years ago
|
|
||
2 years ago
|
## Edit external database configuration parameters
|
||
|
|
||
|
Go to `Data Sources`, click ``Edit``, you can re-configure database credentials.
|
||
|
Please make sure database configuration parameters are valid. Any incorrect parameters could lead to schema loss!
|
||
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219832592-14209cbf-d980-4e14-9a59-bda1b778a74e.png)
|
||
2 years ago
|
|
||
|
## Unlink data source
|
||
|
|
||
|
Go to `Data Sources`, click ``Delete`` against the data source that you wish to un-link.
|
||
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219832810-a3e9ed88-f732-4f30-9228-ff782be0b9d6.png)
|
||
2 years ago
|
|
||
|
## Data source visibility
|
||
|
|
||
|
Go to `Data Sources`, toggle ``Radio-button`` against the data source that you wish to hide/un-hide.
|
||
|
|
||
2 years ago
|
![image](https://user-images.githubusercontent.com/35857179/219832914-f485099c-423f-4df8-bf00-b509288efe6d.png)
|