PostgreSQL Integration
How to configure PostgreSQL database connection in Datograde
You can connect Datograde to your PostgreSQL database to import and manage your data.
Setting up PostgreSQL Connection
Basic Configuration
- Navigate to the Integrations page in your account settings
- Click on PostgreSQL to open the configuration form
- Fill in the following required connection details:
- Host (e.g., localhost or your database URL)
- Port (default is 5432)
- Database name
- Schema (defaults to "public")
- Username
- Password
Saving Your Configuration
- Click the Save Configuration button
- Datograde will test the connection and save your settings
- Upon successful connection, you'll see a green checkmark with your database details
Managing Existing Configurations
Viewing Current Configuration
Once configured, you'll see your current PostgreSQL connection details:
- A green checkmark confirmation
- The connected database name
- The host address
Modifying Settings
- Click the Edit Configuration button next to your existing configuration
- Update any fields that need to be changed
- Click Save Configuration to apply changes
- Or click Cancel to keep existing settings
Troubleshooting
If you receive a "Failed to save configuration" alert:
- Verify all credentials are correct
- Ensure the database is accessible from your network
- Check that the specified user has proper access permissions
- Confirm the database port is open and accessible
Security Note
Your database credentials are encrypted and securely stored. We recommend:
- Using a dedicated read-only user for the connection
- Setting up appropriate database permissions
- Following your organization's security policies for database access