Database Connections
Explains database connection concept in Slashbase app context.
A Database connection in Slashbase has details of connections that can be used to connect to the given database. A database connection when connecting can make a direct connection to the database or can use an SSH tunnel to connect to the database in the given VPC.

Concept

A database connection can have:
  • Nickname
  • Host
  • Port
  • Database
  • Username
  • Password
  • Use SSH or None
  • SSH Host (optional)
  • SSH username (optional)
  • SSH password (optional)
  • SSH key (optional)
  • One of the two below login types:
  • Root login
    • Uses the username/password above provided at the time of adding to connect to the database for everyone in the team (and does not follow team member wise permissions)
  • Role logins
    • Uses the username/password above provided at the time of adding to create 3 new roles admin, developer, and analysts and uses these logins to login for team members based on the permission they have, and does not use root login to make a connection to the database. The 3 roles are deleted at the time of deleting the database connection.

Adding a database connection

To add a new database connection in Slashbase:
  1. 1.
    You need to make sure, you have admin role in the project you are adding.
  2. 2.
    Go to the project page you want to add the connection in.
  3. 3.
    Click on Add New DB Connection button.
  4. 4.
    Fill the details required to make connection to the database.
  5. 5.
    Click on Add button.

Deleting a database connection

To delete a database connection:
  1. 1.
    You need to make sure, you have admin role in the project you are adding.
  2. 2.
    Go to the project page you want to delete the connection from.
  3. 3.
    Click on the three dots menu on the database connection you want to delete.
  4. 4.
    Click on Delete DB button.