> ## Documentation Index
> Fetch the complete documentation index at: https://vexidata.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit Connection

> Update your database connection settings — host, credentials, port, or schema.

<Steps>
  <Step title="Open the edit dialog">
    1. Go to [Data Sources](https://vexidata.com/data-sources)
    2. Click the menu icon on the connection you want to edit
    3. Select **Edit connection**
  </Step>

  <Step title="Update your settings">
    You can change any of these fields:

    | Field            | Notes                                        |
    | ---------------- | -------------------------------------------- |
    | **Display Name** | The label shown in VexiData                  |
    | **Host**         | Database server address                      |
    | **Port**         | Connection port                              |
    | **Database**     | Database name                                |
    | **Schema**       | PostgreSQL (`public`) and SQL Server (`dbo`) |
    | **Username**     | Database user                                |
    | **Password**     | Leave blank to keep the current password     |
  </Step>

  <Step title="Test and save">
    Click **Update Connection**. VexiData will verify the new settings and re-sync your schema if anything changed.
  </Step>
</Steps>

<Info>
  You can also click **Test Connection** to verify connectivity without saving.
</Info>

## When to edit a connection

Common reasons to update your connection:

* Your database host or port changed (e.g., migrated to a new server)
* Database credentials were rotated (common with [Heroku](/providers/heroku))
* You want to point to a different database on the same server
* You need to change the schema from `public` to a custom schema
