Database Tools

Tun includes powerful database management tools to help you work with your Craft CMS databases.

Database Information

View complete database connection details from any site's "Database" tab:

  • Database host and port
  • Database name
  • Username and password
  • One-click copy for all connection parameters
  • External connection information for database clients

AdminNeo Integration

Tun includes built-in AdminNeo database management tool integration:

  • Automatic login to database
  • Full database administration capabilities
  • Visual table browser and query interface
  • Table structure viewer
  • Data export and import

Access AdminNeo directly from the Database tab with one click—no manual configuration needed.

Database Engines

Tun supports multiple database engines:

  • MySQL — Full support with all features
  • MariaDB — Full support with all features

Databases are automatically created and configured when you create a site. Each site gets its own isolated database.

Database Backup

Create database backups with one click:

  1. Open the Database tab
  2. Click "Backup Database"
  3. Tun runs php craft db/backup in the container
  4. Backup file is saved automatically

Backups are managed automatically with status notifications. You can also restore databases from backup files using the Craft CLI integration.

Using External Database Clients

You can connect to your site's database using external database clients like TablePlus, Sequel Pro, or MySQL Workbench:

  1. Open the Database tab
  2. Copy the connection details (one-click copy available)
  3. Use the connection parameters in your database client
  4. Connect using the displayed host, port, username, and password

The connection details are displayed for both internal container access and external access, so you can use any database management tool you prefer.