Prerequisites
- An Azure account with an Azure Database for PostgreSQL, MySQL (Flexible Server), or Azure SQL Database
- A VexiData account
Connect Azure Database to VexiData
Get your connection details
- Log in to the Azure Portal
- Navigate to your database server
- On the Overview page, copy the Server name (FQDN)
| Parameter | PostgreSQL Example | MySQL Example | SQL Server Example |
|---|---|---|---|
| Host | myserver.postgres.database.azure.com | myserver.mysql.database.azure.com | myserver.database.windows.net |
| Port | 5432 | 3306 | 1433 |
| Database | Your database name | Your database name | Your database name |
| Username | Your admin username | Your admin username | Your admin username |
| Password | Your admin password | Your admin password | Your admin password |
On Flexible Server, use your plain username (e.g.,
myadmin). The @servername suffix is not required.Add VexiData to firewall rules
Azure blocks all external connections by default. You must add VexiData’s IP addresses.
- Go to your database server’s Networking page
- Under Firewall rules, click Add a firewall rule
- Add each of VexiData’s IPs:
| Rule name | Start IP | End IP |
|---|---|---|
| VexiData 1 | 139.59.53.167 | 139.59.53.167 |
| VexiData 2 | 165.22.217.42 | 165.22.217.42 |
- Click Save
Firewall changes can take up to 5 minutes to apply. If your connection fails immediately after saving, wait and try again.
Add the connection in VexiData
- Go to Data Sources in VexiData
- Click PostgreSQL, MySQL, or SQL Server depending on your server type
- Fill in the details:
| Field | Value |
|---|---|
| Display Name | A name to identify this connection (e.g., “Azure Production”) |
| Host | Your server FQDN (e.g., myserver.postgres.database.azure.com or myserver.database.windows.net) |
| Port | 5432 (PostgreSQL), 3306 (MySQL), or 1433 (SQL Server) |
| Database | Your database name |
| Schema | public (PostgreSQL) or dbo (SQL Server) |
| Username | Your admin username |
| Password | Your admin password |
Troubleshooting
Connection timed out
Connection timed out
- Verify VexiData’s IPs are in your Firewall rules. Changes take up to 5 minutes to apply
- Make sure you’re using the Server name (FQDN), not an IP address
- Check that your server is running in the Azure Portal
SSL connection errors
SSL connection errors
- Azure enforces SSL (TLS 1.2+) by default. VexiData handles this automatically
- If you see SSL errors, verify the host and port are correct
Authentication failed
Authentication failed
- For PostgreSQL and MySQL (Flexible Server), use your plain username without the
@servernamesuffix - For Azure SQL Database, use your admin login configured during creation
- Reset your password from the Azure Portal if needed
No tables visible after connecting
No tables visible after connecting
- For PostgreSQL, confirm your tables are in the
publicschema. For SQL Server, confirm they’re in thedboschema. Update the Schema field in VexiData if they’re in a custom schema - Check that your database user has
SELECTpermissions on the tables