Celebrating our 30th year online · Est. 1997 Our story → Open a ticket Status

Home / Help Center / Websites & WordPress

Create a database and use phpMyAdmin

Set up MySQL/MariaDB for an app, and import or export data.

  1. In cPanel, open Databases → Database Wizard.
    Create a database and use phpMyAdmin, step 1
  2. Name the database, create a user with a strong password, and give the user All Privileges on it.
  3. In your app's config, use host localhost, plus the full database name and username (they start with your cPanel username and an underscore).
  4. To import or export, open Databases → phpMyAdmin, select the database and use the Import or Export tab.

Tips

  • Large imports time out in phpMyAdmin. Use the Terminal (mysql -u user -p dbname < file.sql) or ask us to import it.

Still stuck?

Our in-house team answers tickets 24/7.

Open a ticket

Related guides