Documentation

SQLite

Open or create a SQLite database file in TableR — no server, host, or credentials — with local bootstrap and troubleshooting.

SQLite is embedded and file-based, so there is no server to run. Point TableR at an existing database file, or let it create a new one locally.

No server? Start here

SQLite has no server. Choose SQLite in the launcher and either pick an existing file or create a new local database file to start immediately.

Overview

TableR opens a SQLite database directly from a file on disk. There is no host, port, or credential — the file is the database. This makes SQLite ideal for local development, prototypes, and inspecting shipped .sqlite/.db files.

  • File-based — open a .sqlite or .db file; there is no server.
  • No credentials — access is controlled by file permissions on disk.
  • Local bootstrap — TableR can create a new empty database file for you.

Before you start

  • The path to a .sqlite or .db file, or a folder where you want to create one.
  • Read/write permission on the file if you plan to modify it.

Connection fields

SQLite needs only a database file — there is no host, port, or credential to enter.

FieldRequiredDefaultNotes
Database fileYesPath to an existing .sqlite/.db file, or a new file to create.
Host / PortNoNot used; SQLite has no server.
CredentialsNoNot used; access is by file permissions.

Connect with the form

  1. 1
    Choose SQLite

    Open the launcher and pick the SQLite card.

  2. 2
    Select a database file

    Browse to an existing .sqlite or .db file.

  3. 3
    Or create a new file

    Choose a location and name to start an empty database.

  4. 4
    Save and connect

    Save the profile so it reappears in the launcher, then connect.

Local bootstrap

Local bootstrap for SQLite simply creates a new database file on your machine — no install or server required.

  1. 1
    Select SQLite

    Pick SQLite in the launcher.

  2. 2
    Create a new database file

    Choose a folder and file name; TableR creates an empty SQLite database.

  3. 3
    Start querying

    A connection opens on the new file; create a table and insert rows.

Verify the connection

Once connected, open a SQL tab and run a quick check:

SELECT sqlite_version();
SELECT name FROM sqlite_master WHERE type = 'table';

The first statement returns the SQLite version; the second lists tables (empty on a new database).

Troubleshooting

SymptomLikely causeFix
Unable to open database fileWrong path, or no permission to the file/folder.Re-check the path and file permissions; pick a folder you can write to.
File is not a databaseThe file is not a valid SQLite database.Open a real .sqlite/.db file, or create a new one.
Attempt to write a readonly databaseThe file or folder is read-only.Grant write permission, or copy the file somewhere writable.
Database is lockedAnother process is writing to the file.Close other tools using the file and retry.

Next steps