Accessing your database with phpMyAdmin

Accessing your database with phpMyAdmin

phpMyAdmin is a browser-based database management tool. Kapsule provides single sign-on access to phpMyAdmin for every website, no separate password needed.

Opening phpMyAdmin

  1. Go to Websites and open your site
  2. In the sub-navigation, go to Files → Database
  3. Click Open phpMyAdmin

phpMyAdmin opens in a new tab, already authenticated. You're taken directly to your site's database, no login form required.

Your database connection details

The Database page also shows your raw connection credentials if you need them for external tools (like a local database client or in your app's config):

FieldValue
Host127.0.0.1:3306
DatabaseYour database name (shown on the page)
UsernameYour database user (shown on the page)
PasswordShown masked, click to reveal if needed

Note: the host 127.0.0.1:3306 is only accessible from within the server itself. To connect from your local machine, use SFTP tunnelling or a bastion host.

What you can do in phpMyAdmin

  • Browse and edit table data
  • Run SQL queries
  • Export the database (backup)
  • Import a SQL dump (restore or migrate)
  • Check table structure, indexes, and relationships
  • Optimise and repair tables (also available from WordPress → Database)

Importing a database

To restore or migrate a database:

  1. Open phpMyAdmin via the Database tab
  2. Click on your database name in the left panel
  3. Click the Import tab at the top
  4. Choose your SQL file and click Go

For large imports, consider splitting the SQL file into smaller chunks or using the command line via SSH.

When to use phpMyAdmin

phpMyAdmin is useful for:

  • Manually editing data (fixing a broken WordPress option, for example)
  • Importing/exporting a database during migration
  • Diagnosing data issues
  • Accessing the database when SSH access isn't available

For WordPress-specific database operations (optimise, repair, search-replace), use WordPress → Database in the site sub-navigation instead.

Was this article helpful?

Still need help?

Our support team is here on business days, NZT.

Back to Help Centre