UnderHost
Knowledgebase Docs

Database management in aaPanel-create users and databases

Create MySQL databases and users in aaPanel, set permissions, access phpMyAdmin, and manage from the aaPanel interface.

On this page

aaPanel provides an integrated database manager for MySQL/MariaDB operations. You can create databases, users, and access phpMyAdmin without command-line.

Access database manager

  1. Log in to aaPanel
  2. Click Database icon in left sidebar
  3. Select MySQL from tab options

Create new database

  1. In Database manager, click "Add Database"
  2. Enter database name (alphanumeric, no spaces)
  3. Select Character Set (utf8mb4 recommended)
  4. Click Confirm

Create database user

  1. In Database manager, click "Add User"
  2. Enter username (alphanumeric)
  3. Set password (use strong password)
  4. Assign user to database(s)
  5. Set privileges (All Privileges for WordPress)
  6. Click Confirm

Access phpMyAdmin

  1. In Database manager, click phpMyAdmin icon next to database
  2. Log in with database user credentials
  3. Import/export, run queries, manage tables

Backup database in aaPanel

  1. Click database name, then "Backup" tab
  2. Set backup frequency (daily/weekly/monthly)
  3. Backups stored in /www/backup/database/
Use aaPanel instead of command line

aaPanel GUI is faster and less error-prone than SSH commands for basic database tasks. Use command-line only for advanced operations.

Related: aaPanel overview | Database admin

Was this article helpful?

Need aaPanel hosting?

Install aaPanel on an UnderHost VPS or dedicated server when you want a simple web interface for sites, databases, SSL, and apps.

Related articles

Back to aaPanel