Connection failed
A refused connection usually points to the server address or listener; an authentication error points to the database login.
Symptoms
Section titled “Symptoms”Database and network errors include:
connection refusedNo route to hosttimeout expiredpassword authentication failed for userAccess denied for userno pg_hba.conf entry for hostTableAI shows the server’s error when the server supplies one. Use database error codes to find its details.
Quick checks when a connection failed
Section titled “Quick checks when a connection failed”- Compare Driver, Host, Port, Database, and User with the intended server.
- Connect to the required VPN, if applicable.
- Click Test in the connection form.
- Follow SSH tunnel errors or TLS and certificate errors if the failure names either one.
For a SQLite file, start with file access.
Local server or Docker is unreachable
Section titled “Local server or Docker is unreachable”Start the database service if it is stopped. For Docker, inspect running containers in Terminal:
docker psUse the published host port in TableAI. For example, 127.0.0.1:5433->5432/tcp means host 127.0.0.1 and port 5433.
If available, use pg_isready for PostgreSQL or mysqladmin ping for MySQL to test the same host and port. A successful check against another endpoint does not verify this connection.
For access from another computer, check PostgreSQL listen_addresses or MySQL bind-address. Permit only the required clients through the firewall.
macOS Local Network permission
Section titled “macOS Local Network permission”On macOS 15 and later, denying Local Network permission can cause timeouts or No route to host for local-network servers.
- Open System Settings › Privacy & Security › Local Network.
- Turn on TableAI.
- Retry the connection.
This permission is unnecessary for localhost, 127.0.0.1, or internet hosts. Docker ports published on localhost also need no permission.
Cloud endpoint or network access is incorrect
Section titled “Cloud endpoint or network access is incorrect”Check the endpoint against the connection details supplied by your database service:
- Public access or a route through the required private network.
- Firewall rules and allowed client IP addresses.
- Direct connection versus pooler host and port.
- The required TLS mode.
Use the guide for your setup: PostgreSQL, MySQL, MariaDB, Redshift, or SQL Server.
The database rejects the login
Section titled “The database rejects the login”Check database credentials separately from SSH credentials. A password reset requires an update to the saved connection.
For PostgreSQL no pg_hba.conf entry for host, ask the server owner to check the access rule for your client, database, user, and TLS mode. For a connection-limit error, follow PostgreSQL 53300.
Still stuck
Section titled “Still stuck”For a company server, give the administrator the host, port, database, user, exact error, and failure time through an approved channel. Never send passwords or connection URLs.
Review connection setup or collect a support report.