Database Manager
What This Page Does
The Database Manager lets you view, search, and manage all the data that powers your site -- directly from the admin panel. You can look up information stored in your site's tables, make changes to individual records, create safety backups before making edits, and restore those backups if something goes wrong.
[Screenshot: database-manager-overview]
How to Get Here
Navigate to Admin Panel > Templates > Database Manager
You can also reach it from the navigation bar at the top of any Templates page by clicking Database.
Understanding the Page
When you first open the Database Manager, you will see several areas on the screen.
Safety Warning Banner
A red banner at the top reminds you to be careful when making changes. You can dismiss it by clicking Dismiss, but it will reappear next time you visit as a helpful reminder.
Backup Recovery Center
Below the warning banner is a collapsible green panel called the Backup Recovery Center. Click the panel header to expand or collapse it. This is where all your saved backups are listed. You will also see a badge showing how many backups you currently have.
Tables Panel (Left Side)
The left side of the page shows a list of all the data tables on your site. Each table stores a different type of information (videos, users, settings, and so on). Next to each table name you will see a number showing how many records it contains.
At the very top of the list is your database name. Clicking it gives you a high-level overview of everything.
You can type in the Filter box above the list to quickly find a specific table by name.
Main Panel (Right Side)
The right side is where you work with your data. It has four tabs along the top:
- Browse -- View the data inside a table, page by page
- Structure -- See what types of information a table stores
- Search -- Find specific records
- SQL Query -- For advanced users who know how to write database commands
Table Toolbar
When you select a table, a toolbar appears with action buttons. These let you create backups, run maintenance tasks, export data, copy tables, and more.
Common Tasks
How to Browse Your Data
Use this when you want to look at the records stored in a table.
- Click a table name in the left panel.
- The Browse tab opens automatically, showing your data in rows and columns.
- Click any column header to sort the data by that column. Click again to reverse the sort order.
- Use the page navigation at the bottom to move through large sets of records.
- Hover over any value that appears cut off to see the full content in a tooltip.
How to Search for Something in a Table
Use this when you need to find a specific record, such as a particular user or video.
- Click the table name you want to search in.
- Click the Search tab.
- Select the Column you want to search (for example, "title" or "email").
- Choose a Search Type:
- Contains -- Finds records where the column includes your search text anywhere
- Exact Match -- Finds records that match your search text exactly
- Starts With -- Finds records where the column begins with your search text
- Ends With -- Finds records where the column ends with your search text
- Type your search text in the Search Value box.
- Click Search.
- Matching records appear below.
How to Search Across Your Entire Site
Use this when you know a word or phrase exists somewhere but you are not sure which table it is in.
- Click the database name at the top of the left panel.
- Click the Search tab.
- Type your search text in the box. It must be at least 2 characters long.
- Click Search All Tables.
- The results show which tables contain matches and how many were found.
- Click any table name in the results to go directly to that table.
How to Edit a Record
Use this when you need to change a specific piece of data, such as correcting a typo in a title.
- Browse to the table that contains the record you want to change.
- Find the record in the list.
- Click the Edit button (pencil icon) on the left side of that row.
- A form opens showing all the fields for that record.
- Make your changes in the appropriate fields.
- If you need to clear a field completely, check the NULL checkbox next to it.
- Click Save Changes.
How to Delete a Record
Use this when you need to permanently remove a specific record.
- Browse to the table that contains the record.
- Find the record in the list.
- Click the Delete button (trash icon) on the left side of that row.
- Confirm the deletion when prompted.
How to Create a Backup
Backups are your safety net. Always create one before making changes.
To back up a single table:
- Click the table name in the left panel.
- Click the Backup button in the toolbar.
- Choose a backup type:
- Full -- Saves everything (recommended)
- Structure Only -- Saves the table layout but not the data
- Data Only -- Saves the data but not the table layout
- Click Create Backup.
- Your backup appears in the Backup Recovery Center.
To back up your entire database:
- Click the database name at the top of the left panel.
- Click the Backup button.
- The backup starts automatically.
- Wait for the confirmation message. Large databases may take a minute or two.
How to Restore a Backup
Use this to undo changes by returning a table to a previous state.
- Expand the Backup Recovery Center panel by clicking its green header.
- Find the backup you want to restore in the list.
- Click the Restore button next to it.
- Confirm that you want to restore.
How to Download a Backup
- Expand the Backup Recovery Center panel.
- Find the backup you want.
- Click the Download button next to it.
- The file saves to your computer.
How to Delete a Backup
- Expand the Backup Recovery Center panel.
- Find the backup you no longer need.
- Click the Delete button next to it.
- Confirm the deletion.
How to Export a Table
Use this to download a copy of a table's data to your computer.
- Click the table name in the left panel.
- Click the Export button in the toolbar.
- Choose a format:
- SQL -- A full export including the table structure and data (best for backups or moving data between sites)
- CSV -- A spreadsheet-friendly format with just the data (best for opening in Excel or Google Sheets)
- Click Export.
- The file downloads to your computer automatically.
How to Copy a Table
Use this to create a duplicate of an existing table.
- Click the table name you want to copy in the left panel.
- Click the Copy button in the toolbar.
- Enter a name for the new copy.
- Choose whether to copy Structure and Data (full copy) or Structure Only (empty copy with the same layout).
- Click Copy Table.
How to Run Maintenance on a Table
The toolbar includes maintenance actions that help keep your tables running smoothly:
To run any of these:
- Click the table name in the left panel.
- Click the action button in the toolbar (for example, Optimize).
- Wait for the confirmation message.
How to Empty a Table (Truncate)
This removes all data from a table but keeps the table itself.
- Click the table name in the left panel.
- Click the Truncate button in the toolbar.
- Type
YESin the first confirmation box and click Continue. - Type
YESagain in the second confirmation box and click the final button.
How to Delete a Table (Drop)
This permanently removes a table and all its data from your site.
- Click the table name in the left panel.
- Click the Drop button in the toolbar.
- Type
YESin the first confirmation box and click Continue. - Type
YESagain in the second confirmation box and click the final button.
Filters and Search
Filtering the Table List
Type a keyword into the Filter tables... box at the top of the left panel. The list updates instantly to show only tables whose names match what you typed.
To clear the filter, delete the text from the box.
Searching Within a Table
See the "How to Search for Something in a Table" section above for detailed steps.
Searching Across All Tables
See the "How to Search Across Your Entire Site" section above for detailed steps.
View Modes
Database Overview
When you click the database name at the top of the left panel, the Browse tab shows a summary of all your tables. This includes the number of tables, total records, and the amount of storage space used. You can click any table name in this overview to jump directly to that table.
Table Data View
When you click a specific table, the Browse tab shows the actual data stored inside it, displayed in a grid with rows and columns. You can scroll left and right if the table is wide, and the action buttons stay pinned to the left so they are always accessible.
Tips for New Users
- Back up before you change anything. This is the most important habit you can build. Backups take seconds and can save you hours of headache.
- Start by browsing, not editing. Get comfortable looking at your data before making any changes. Click through a few tables to understand what information is stored where.
- Use search to find things quickly. Instead of scrolling through hundreds of records, use the Search tab to jump straight to what you need.
- Do not delete or empty tables you do not recognize. Your site depends on many tables working together. Removing the wrong one can cause errors across your site.
- Keep your backups organized. Download important backups to your computer for extra safety. Do not rely solely on the backups stored on your server.
Troubleshooting
The table list is not loading
What you see: The left panel shows "Loading tables..." and never finishes.
How to fix it:
- Refresh the page by pressing F5 or clicking the refresh button in your browser.
- If that does not work, clear your browser cache and try again.
- If the problem continues, your database service may be temporarily unavailable. Wait a few minutes and try again, or contact your hosting provider.
I cannot find the Edit or Delete buttons on a row
What you see: The rows in the Browse tab do not have pencil or trash icons on the left side.
How to fix it:
This happens when a table does not have a unique identifier for each row. Unfortunately, you cannot use the visual editor for this table. If you need to make changes, contact a developer or someone experienced with database commands to assist you.
My search across all tables returned no results
What you see: You searched for a word but the results say "No matching records found."
How to fix it:
- Double-check your spelling.
- Make sure your search text is at least 2 characters long.
- Try a shorter or more general version of your search term.
- Keep in mind that this search only looks in text-based fields. Numbers stored in numeric-only fields will not be found this way. Try searching within a specific table using the Search tab instead.
A backup failed to create
What you see: An error message appears when you try to create a backup.
How to fix it:
- Try creating a backup of a single table instead of the entire database.
- If single-table backups also fail, there may be a storage or permissions issue on your server. Contact your hosting provider or system administrator for help.
I accidentally changed or deleted something
What you see: You made a change you did not intend to make.
How to fix it:
- Open the Backup Recovery Center by clicking the green panel header.
- Find the most recent backup for the affected table.
- Click Restore and confirm.
- If you do not have a backup, contact a developer for assistance. They may be able to recover data from server-level backups.
The page says my session expired
What you see: A message saying "Session expired. Please refresh the page and log in again."
How to fix it:
- Refresh the page.
- Log in again when prompted.
- Any unsaved changes will be lost, so you will need to redo them.