HfogDocsv1.0.0

SQLite files

Open the SQLite database files in your home folder with DB Studio: browse and edit rows, change the structure, run SQL, import and export.

Many applications keep their data in an SQLite file. DB Studio opens such a file from your home folder like any other database: the same tree, tabs and SQL box.

Where: DB Studio › SQLite files in the tree, or the Databases tab

Open a file

SQLite files lists the SQLite files found in your home folder, with their size. Click one to open it. A file that is not listed can be opened under Open a file by its path: type the path inside your home folder, for example public_html/app/data/app.db, and click Open.

The list looks up to 6 folders deep and shows up to 200 files. Hidden folders, and folders such as node_modules, vendor, tmp, logs, backups and your mail folders, are not searched.

What you can do

Everything a table of another database has: Browse, Structure, SQL, Search, Insert, Export, Import and Operations. See Rows and structure and The SQL box.

SQLite itself sets these limits:

  • A column can be added or renamed. Its type and default, and the table's primary key, are fixed when the table is created.
  • Copy table copies the columns and rows; indexes and keys are not copied.
  • There are no routines or events.

Rules

  • The file is opened as your own hosting account, never with more rights. A file your account can't write is not opened.
  • Only files inside your home folder open. A path that leaves it, also through a link, is refused.
  • A file can be up to 512 MB.
  • ATTACH and DETACH are not available, so one file can't reach another. VACUUM is not available for the same reason; run it with your application or over SSH.
  • Each statement may run for 30 seconds, as for every database.

Tip: an application that is writing to the file at the same moment can make a change wait or fail with database is locked. Try again a moment later.