Connection options
libSQL can run in several modes:- Local file — a libSQL/SQLite file on disk. Point QueryBear at the file path, exactly like local SQLite.
- Server mode (
sqld) — libSQL running as a server, reachable over anhttp://orlibsql://URL, optionally with an auth token. - Hosted (Turso) — see the dedicated Turso integration.
Add the connection to QueryBear
In the QueryBear dashboard → Connections → New connection → SQLite / libSQL:- Local file: provide the absolute path to the
.db/ libSQL file. - Server mode: provide the
http:///libsql://URL (and auth token if yoursqldrequires one).
libSQL-specific notes
- Read-only enforced at the QueryBear gateway. If your
sqldserver supports read-only tokens, use one for defense in depth. ATTACH DATABASEis blocked at the parser.- SQLite feature parity: JSON1 functions, FTS5 virtual tables, and views all work.