Use phpMyAdmin

phpmyadmin, mysql, sql, tables, export, import · 0 found this helpful

phpMyAdmin is a web tool for looking inside a MySQL or MariaDB database. You can read data, edit it, run SQL, and move databases in and out.

Important: Changes happen at once and can't be undone. Export a copy first. See Export a database.

Open it

  1. Sign in at https://barbrick.ca/account.
  2. Open Account → Hosting → your site → Databases and click Open phpMyAdmin. It opens in a new window, already signed in.
Open phpMyAdmin is at the top of Databases and beside each database
  1. Click your database in the left list.

Look around

Area Use
Structure Tables, row counts, and sizes
Browse Rows in a table
Search Find a value across tables
SQL Type and run queries
Export / Import Move data. See the linked articles
Operations Rename, copy, or repair a table

Edit a value

  1. Click a table, then Browse.
  2. Click Edit on the row.
  3. Change the value and click Go.

Run a query

  1. Open SQL.
  2. Type a query, for example:
SELECT ID, user_login, user_email FROM wp_users;
UPDATE wp_options SET option_value = 'https://example.ca' WHERE option_name IN ('siteurl','home');
  1. Click Go.

For WordPress URL changes, prefer WP-CLI. See Change a WordPress site's URL.

Check size

Structure shows the size of each table. Large wp_options, wp_postmeta, or log tables are common. Use Operations → Optimize table, or run OPTIMIZE TABLE. See Check and repair a database.

If something goes wrong

Problem Fix
Import times out Use the command line. See Import a database
"Access denied" You opened it from the wrong hosting service. Open it from the right site in your account
Session expired Click Open phpMyAdmin again in Databases
Can't see a database It doesn't belong to this account

Was this helpful?

Still stuck? Ask us and we'll walk you through it.