How to access and use phpMyAdmin

Open phpMyAdmin from DirectAdmin, find your way around, browse and edit data safely, and run SQL queries.

Guide2 min readLast updated
On this page
  1. Opening it
  2. Finding your way around
  3. Before changing anything
  4. Editing a row
  5. Running a query
  6. Finding which database a site uses
  7. If it won’t open or times out
  8. If it doesn’t work
  9. Common questions

phpMyAdmin is a browser tool for working with your MySQL/MariaDB databases.

Opening it

  1. In DirectAdmin, open Extra Features › phpMyAdmin.
  2. If asked to log in, use a database user and password, or your DirectAdmin credentials where the panel passes them automatically.

Finding your way around

Before changing anything

Export the database first. phpMyAdmin has no undo.

Editing a row

  1. Select the table and Browse.
  2. Select Edit on the row.
  3. Change the value and select Go.

Running a query

Select the database, open SQL, and enter:

SELECT option_name, option_value
FROM wp_options
WHERE option_name IN ('siteurl', 'home');

Finding which database a site uses

Look in the application’s configuration file: wp-config.php for WordPress (DB_NAME), .env for Laravel, configuration.php for Joomla.

If it won’t open or times out

phpMyAdmin won’t open, logs out or times out

Prefer to follow along?

Looking for somewhere to run PHP and MySQL? Traxio’s PHP and MySQL hosting includes phpMyAdmin.

If it doesn’t work

These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.

Common questions

What is phpMyAdmin?

phpMyAdmin is a web interface for looking inside your MySQL databases — browsing tables, running queries, importing and exporting. It is included with your hosting and opens from Extra Features › phpMyAdmin in DirectAdmin.

This is a general web-hosting explanation, not specific to Traxio.

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going