Skip to content

How to create a MySQL database in cPanel?

Updated 1 min read

Updated: 28 September 2026 · Applies to: cPanel & WHM 138 (Jupiter theme)

Most PHP applications, including WordPress, Joomla and Magento, store their data in a MySQL database. You need three things: a database, a database user and a password.

Steps with the Database Wizard

  1. Log in to cPanel (for example at https://yourdomain.com:2083, or from the Ucartz client area).
  2. Open Databases › Database Wizard.
  3. Enter a database name and click Next Step. cPanel adds your username as a prefix, for example username_shop.
  4. Enter a database username and a strong password, then click Create User.
  5. Tick ALL PRIVILEGES and click Next Step.

Connection details for your application

  • Database host: localhost
  • Database name and username: the full names with the prefix, for example username_shop and username_shopuser
  • Password: the one you just set

You can manage databases later in Databases › Manage My Databases and work with their contents in Databases › phpMyAdmin.

Related services

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Unmanaged dedicated servers

full root access and free IPMI KVM, with Free Basic Managed Support.

Linux server management

hardening, patching, monitoring and automation for Ubuntu, Debian, RHEL and AlmaLinux.

Was this answer helpful?

Still stuck? Open a ticket