How to access and use phpMyAdmin
Open phpMyAdmin from DirectAdmin, find your way around, browse and edit data safely, and run SQL queries.
On this page
phpMyAdmin is a browser tool for working with your MySQL/MariaDB databases.
Opening it
- In DirectAdmin, open Extra Features › phpMyAdmin.
- 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
- Left sidebar — your databases. Expand one to see its tables.
- Browse — rows in a table.
- Structure — columns and indexes.
- SQL — run queries.
- Search — find values across a table or database.
- Export / Import — backups and restores. How to export a database (backup with phpMyAdmin) How to import a database with phpMyAdmin
- Operations — rename, copy, optimise.
Before changing anything
Export the database first. phpMyAdmin has no undo.
Editing a row
- Select the table and Browse.
- Select Edit on the row.
- 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?
- Create a database and connect an application to it
Beginner · 15 min
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.
- Database connection failedFix ‘Access denied for user’, ‘Unknown database’ and connection errors in PHP apps by checking prefixes, passwords, privileges and host.
- “Error establishing a database connection” in WordPressFix WordPress’s database connection error: check wp-config.php credentials, database user permissions, the database host and damaged tables.
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.