How to access and use phpMyAdmin

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

How-to guideBeginner2 min readUpdated

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

Opening it

  1. In DirectAdmin, open Extra Features then 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

Looking for somewhere to run PHP and MySQL? Traxio’s free PHP MySQL hosting includes phpMyAdmin and is free for your first 30 days.

Popular

Tip: press / to search from any pageSee all results