| +91 73181 42255 |
All tutorials
cPanel · 4 min read

How to Create a MySQL Database & User in cPanel

Most applications (WordPress, custom PHP apps, etc.) need a MySQL database. Here's how to create one and give a user access to it.

  1. 1

    Open MySQL Database Wizard

    In cPanel, click MySQL Database Wizard under "Databases" — it walks you through every step.

  2. 2

    Create the database

    Type a short database name and click Next Step. cPanel adds your account prefix automatically.

  3. 3

    Create a database user

    Enter a username and a strong password (use our Password Generator), then click Create User.

  4. 4

    Grant privileges

    On the privileges screen, tick ALL PRIVILEGES and click Next.

  5. 5

    Save your details

    Note the full database name, username and password — your application asks for these during setup.

Tip: The database host is almost always localhost for apps running on the same VedHost account.
Stuck on a step? Our team is here 24/7.
Loading...