SyncriTab

Data Sources & Permissions

A data source tells SyncriTab how to reach one database. DB Managers create data sources and decide which developers can use each one.

How developers get to a database

Two separate checks stand between a developer and a database:

  1. SyncriTab's permission. A DB Manager must give the developer access to the data source. Developers see only the data sources they've been given.
  2. The database's own login. When connecting, the developer enters their own user name and password for the database. The database then decides what they can see and change.

Data sources never store database user names or passwords. Each developer signs in to the database with their own account, so the database's permissions and audit logs apply to them personally.

How a developer gets access to a database: the manager creates a data source and grants access, then the developer connects with their own database user name and password.
Two checks stand between a developer and a database.

The Manage Data Sources page

Sign in as a DB Manager and click Manage Data Sources in the side menu. The page lists every data source:

The Manage Data Sources page listing data sources.
The Manage Data Sources page.
ColumnWhat it shows
NameThe data source's name, which developers see when they connect.
DriverThe type of database.
Connection URLThe start of the JDBC connection URL. Click the clipboard button to copy the whole URL.
DevelopersHow many developers can use the data source.
Active ConnectionsHow many connections to it are open right now.
ActionButtons to test the connection, edit the data source, manage which developers can use it, and delete it.

Adding a data source

If the database you need isn't in the JDBC Driver list, add its driver first. See JDBC Drivers.

  1. Click Add Data Source.
  2. Enter a Data Source Name that developers will recognize, such as Sales (production) or HR reporting replica.
  3. Choose the JDBC Driver for the type of database. A driver marked (download pending) is downloaded automatically when you save.
  4. Fill in the connection fields that appear for that driver, such as Server Host, Port, and Database Name. They start with typical values. SyncriTab builds the Connection URL from them as you type.
  5. Click Save Data Source.
  6. Test the connection, then choose which developers can use it.
The Add Data Source form filled in for a sample database.
Adding a data source.

About the connection fields

Testing a connection

  1. Click the test (plug) button in the data source's row.
  2. Enter a database User ID and Password and click Test. They're used only for the test and aren't saved.
  3. SyncriTab connects and reports Connected successfully in n ms, or the error the database returned.

Common causes of a failed test are a wrong host name or port, a firewall between the SyncriTab server and the database, a wrong user name or password, or a database that requires encrypted connections.

Choosing which developers can use a data source

  1. Click the manage access (people) button in the data source's row.
  2. In Manage Developer Access, select the developers who may use it and clear the others.
  3. Click Save Access.
The Manage Developer Access dialog for a data source.
Choosing which developers can use a data source.

Only users with the Developer role appear in the list. You can also give access from the other direction, choosing a developer's data sources on the User Management page. See Choosing a developer's data sources.

Removing access stops the developer from opening new connections to the data source. Connections they already have open stay open until they disconnect or their session times out.

Editing a data source

  1. Click the edit (pencil) button in the data source's row.
  2. Change the name or connection fields. The driver can't be changed; to use a different driver, create a new data source.
  3. Save your changes.

Developers' access to the data source is kept. The change applies to new connections; connections that are already open keep their original settings.

Deleting a data source

Click the delete (trash) button in the data source's row and confirm. SyncriTab also removes every developer's access to it and deletes the saved sessions that used it. Check the Active Connections column first, and let developers know before you delete a data source they're using.

Tips