1. Websta Hosting
Databases (MySQL)

Using phpMyAdmin

Using phpMyAdmin

phpMyAdmin is a browser-based MySQL administration tool.

Accessing phpMyAdmin

  1. Log in to DirectAdmin → phpMyAdmin under Databases.
  2. You are automatically logged in.

Import a Database

  1. Click your database name (left sidebar).
  2. Click Import → Choose File → select your .sql file.
  3. Click Go.

For files larger than 50 MB, use the SSH method below.

Export / Backup a Database

  1. Select your database → Export → Quick → Go.
  2. Save the .sql file.

Import via SSH (Large Files)

mysql -u yourusername_dbuser -p yourusername_dbname < backup.sql

Run a SQL Query

Select your database → click SQL tab → type your query → click Go.

Still need help?

If this article didn't answer your question, our support team can help.

Contact support
All articles More in Databases (MySQL)