
sidebar.wechat

sidebar.feishu
sidebar.chooseYourWayToJoin

sidebar.scanToAddConsultant
AskTable connects 33 classes of sources—relational databases, warehouses, NoSQL, files, SaaS tables, and streaming endpoints. This guide explains the happy path and the operational checklist behind a healthy connection.
Exact engine list evolves—check the in-product picker for the live matrix.
Steps
{
"host": "mysql.example.com",
"port": 3306,
"database": "mydb",
"username": "readonly_user",
"password": "********"
}
Prefer read-only credentials, TLS, explicit timeouts, and pool sizing on the AskTable side.
CREATE USER 'readonly_user'@'%' IDENTIFIED BY 'password';
GRANT SELECT ON mydb.* TO 'readonly_user'@'%';
FLUSH PRIVILEGES;
{
"host": "postgres.example.com",
"port": 5432,
"database": "mydb",
"username": "readonly_user",
"password": "********",
"schema": "public"
}
Grant CONNECT, USAGE, and SELECT, and set default privileges for future tables if analysts add objects often.
{
"host": "clickhouse.example.com",
"port": 8123,
"database": "default",
"username": "readonly_user",
"password": "********",
"protocol": "http"
}
Tune max_execution_time, compression, and TLS to match your cluster.
.xlsx / .xls / .csv.Typical limits: ~100 MB files and 100k rows—see product docs for current caps.
{
"app_id": "cli_xxxxx",
"app_secret": "********",
"app_token": "bascnxxxxx"
}
Create a tenant app on the Feishu Open Platform, enable Bitable scopes, and paste the app token for the base you need.
| Pattern | When |
|---|---|
| Public IP + TLS | Managed cloud RDS with allowlists |
| VPN / private link | Corporate networks without public DB ports |
| SSH tunnel / jump host | Temporary access through a bastion |
| Co-located AskTable | Deploy AskTable inside the same VPC as the warehouse |
Always combine least privilege DB users, IP allowlists, and TLS.
^(fact|dim)_ vs .*_staging).| Symptom | Checks |
|---|---|
| Connection refused | Security groups, TLS mismatch, wrong port |
| Auth errors | User grants, host restrictions, password rotation |
| Slow metadata sync | Too many tables selected, network RTT |
| Odd SQL | Missing column comments, stale sync |
Site: asktable.com
sidebar.noProgrammingNeeded
sidebar.startFreeTrial