How do I create a MySQL database and user? Print

  • 0

Create a database and user from cPanel in a couple of minutes:

  1. Log in to cPanel from your client area and open MySQL Databases.
  2. Under Create New Database, type a name and click Create Database.
  3. Scroll to Add New User, enter a username and a strong password, then click Create User.
  4. Under Add User To Database, select the user and database, click Add, then tick ALL PRIVILEGES and save.

cPanel prefixes names with your account, so the full name looks like cpuser_dbname and cpuser_dbuser. Note these plus the password for your application's config. If anything fails, open a ticket.


Was this answer helpful?

« Back