Vibe coders
Claude, ChatGPT, Cursor and similar tools can have an app running in an afternoon, and its data often ends up in a single SQLite file. SQL Cockpit shows you what’s in that file, and works with the bigger databases you may move to later.
Where you’re starting from
You didn’t design this database. An AI tool did, one prompt at a time, and it works. But you may not know which tables exist, whether any are left over from an idea you dropped, or what would happen to your users’ data if the file disappeared tomorrow.
- You can’t say for sure what tables your app has
- The AI renamed something and you’re not sure what else that touched
- Your only copy of real user data is one file on one machine
- You’ve heard you’ll need “a real database” eventually, but not when or how
From one SQLite file to a database built for growth
This is a common path for an AI-built app that does well. SQL Cockpit helps with some stages today. The others are planned, and until they’re ready we’ll tell you what to use instead.
- Your app writes to SQLite (Where you start): AI tools often choose SQLite because it needs no setup. All your data lives in one file.
- See what’s in the file (Available): SQL Cockpit opens the file read-only, so you can search its tables, views and triggers and check its size.
- Keep safe copies (Planned): We’re planning SQLite backups in SQL Cockpit. Until then, use VACUUM INTO or Litestream, and test a restore.
- Move to a bigger database (Planned): We’re planning moves from SQLite to bigger databases. Until then, use pgloader for PostgreSQL, or export and import. SQL Cockpit’s object list gives you a checklist.
- Run on the new database (Available): SQL Cockpit can search and report on PostgreSQL, MySQL, MariaDB and Oracle. On SQL Server it adds backups, table sync and job monitoring.
Examples
See every table your app has
You’ve been prompting for weeks and have lost track of what got created.
Add the file to SQL Cockpit and run object sync. You get a searchable list of its tables, views, columns, indexes and triggers.
Available: SQLite. SQLite schema discovery
Read the SQL behind each table
You want to know what your AI tool actually wrote, not what it said it wrote.
Open any object to see the CREATE statement stored in the file. It’s also useful to paste into your next prompt, so the AI works from what’s really there.
Available: SQLite. Object Search
Check before you accept a rename
Your AI tool wants to rename a column, and you’d like to know what depends on it.
Search for the name across view and trigger definitions before you say yes. It doesn’t see your app’s code, so search that too.
Available: SQLite. Database object search
Check your keys and relationships exist
AI-generated schemas sometimes leave out the keys that keep data consistent.
Filter by primary and foreign keys to see which tables have them and which don’t. Then ask your AI tool to fix the gaps, and check the result.
Available: SQLite. SQLite solutions
Spot leftovers from abandoned ideas
That feature you dropped three prompts ago may have left tables behind.
Look through the object list for tables and triggers you don’t recognise, and check them before anyone deletes them.
Available: SQLite. SQLite schema discovery
Confirm what a big prompt really changed
A long session touched the database and you’d like to check what’s there now.
Run object sync again and search for the tables you expected. Results reflect the last sync, so sync first.
Available: SQLite. Database object search
See how big the file has become
Your app has real users now, and you’ve no idea how much data they’ve added.
Check the main database size, page size and page count in Estate Overview. Note the figure yourself if you want a trend, as there’s no history.
Read-only: SQLite. SQLite file growth
Find space you could get back
You deleted a lot of test data, but the file didn’t get any smaller.
Reusable free pages show how much of the file is empty. Running VACUUM yourself gives that space back.
Read-only: SQLite. SQLite file growth
Keep all your side projects in one list
You’ve built five apps, each with its own database, and can’t remember where they all are.
Register each one and see its engine, version, location and size in one Estate Overview, as long as an Agent can reach it.
Available: Every engine. Database estate management
Let someone look without any risk
You’ve asked a developer friend to review your database, and you’re nervous about breaking something.
SQL Cockpit only opens SQLite files read-only, and it doesn’t run AI-generated queries against them, so looking can’t change anything.
Available: SQLite. SQLite solutions
Back up your SQLite file
All your users’ data is in one file, and a bad prompt or a failed disk could lose it.
This is planned for SQL Cockpit. Until then, schedule sqlite3’s VACUUM INTO for a clean copy, or use Litestream for continuous replication. Don’t just copy the file while your app is writing to it.
Planned: SQLite. Database migration
Move from SQLite to PostgreSQL
You’ve got more users writing at once than one file handles comfortably.
This is planned for SQL Cockpit. Until then, use its object list as your checklist, move the data with pgloader, then register the new database to check everything arrived.
Planned: SQLite to PostgreSQL. PostgreSQL object discovery
Move from SQLite to SQL Server, MySQL or Oracle
A customer or your company needs the data on a particular enterprise database.
This is planned for SQL Cockpit. Until then, export with the sqlite3 .dump command, adapt the SQL for the new engine, and load it with that engine’s own tools. Expect data types to need attention.
Planned: SQLite to other engines. Database migration
Check everything arrived
The move finished, and you want to compare what you’ve got with what you had.
Sync both databases and search them side by side for tables, views, indexes and keys. It compares structure, so check your row counts separately.
Available: Every engine. Database object search
Connect to your hosted PostgreSQL
Your AI tool set you up on a hosted PostgreSQL service such as Supabase or Neon.
Register it as a normal PostgreSQL database with a read-only account, using an Agent that can reach it. We haven’t tested these specific services, so check the connection first.
Available: PostgreSQL. PostgreSQL solutions
See when you’re nearing your connection limit
AI-built apps can open lots of connections, and you get errors when you run out.
See current connections next to the limit on MySQL and MariaDB, and connected and active sessions on PostgreSQL. These are current figures, with no alerts.
Read-only: PostgreSQL, MySQL, MariaDB. MySQL connection limit
Back up a small SQL Server database
You’ve moved to SQL Server and want a copy you can download.
On a local or self-hosted install, create a checked backup and download the .bak file. It covers databases up to 256 MiB, with SQL Server on the same host as the Agent. Test the restore too.
Available: SQL Server. SQL Server backup and recovery
Keep a second copy of your tables in step
You want reporting to run on a separate SQL Server database, so that it doesn’t slow your app.
Table sync copies tables between SQL Server databases and records each run’s progress, row counts and duration.
Available: SQL Server. SQL table synchronisation
Give your AI tool real table structures
You’re tired of pasting schemas into chat, and of AI tools guessing at column names.
The MCP Server lets clients that support MCP look up table structures and draft migration SQL for you to review. It doesn’t run that SQL.
Available: SQL Server. MCP Server
What you’ll use most
- Object Search: Search everything in your SQLite file, and in any bigger database you move to.
- SQL Cockpit Agent: Runs on the machine with your file and opens it read-only.
- MCP Server: Lets AI clients look up table structures. SQL Server only for now.
Good to know
- SQLite backups and moves to other databases are planned, not available today, and we haven’t set a date.
- The Agent has to run on the machine that holds the file, and the file must sit under a folder you’ve approved on the Agent.
- SQLite size figures show the current size only, with no history or alerts, and leave out WAL and SHM files.
- Encrypted SQLite files can’t be opened. We’ve tested SQLite 3.41 in read-only mode.
- It works from the database, not your code, so it can’t tell you where your app’s code uses a table.
What success looks like
You know what your AI tool built, you’ve got a backup routine you trust, and you have a clear list to work from when you move to a bigger database.