Hosting basics

Create a MySQL Database and Open phpMyAdmin (Video Guide)

3 min readUpdated November 27, 2026

Most websites keep their content in a database. In cPanel you create one with the MySQL Databases tool, and you can look inside it with phpMyAdmin. This video shows both in about 30 seconds. The written steps below follow the video.

Good to know first

cPanel adds your account name in front of each database name and user name. A database you call shop may show as youraccount_shop. This is normal. Write down the full names, because your website settings need them.

Step 1: Create the database

  1. Sign in to cPanel and open MySQL Databases in the Databases section.
  2. Type a short name in the Create New Database box. Use lowercase letters, numbers and underscores.
  3. Click Create Database.

Step 2: Create a database user

  1. Scroll down to Add New User.
  2. Type a user name, then a strong password twice. You can use the password generator.
  3. Click Create User. Save the password in a safe place.

Step 3: Connect the user to the database

  1. Scroll to Add User To Database.
  2. Choose the user and the database, then click Add.
  3. Tick the privileges the user needs and click Make Changes. For a normal website install, that usually means All Privileges.

Step 4: Open phpMyAdmin

Click phpMyAdmin in cPanel. It opens in your browser with your databases listed on the left. Click one to see its tables.

Video transcript

This video shows how to create a MySQL database and open it in phpMyAdmin. In cPanel, we open MySQL Databases and type a name for the new database. We add a database user with a strong password, then click Create User. Finally we click phpMyAdmin to open the database in the browser.

A safe habit

Before you change anything inside a database, make an export. In phpMyAdmin, open the database, click the Export tab and save the file to your computer. It can restore your data if something goes wrong. Our guide on website backups shows a full plan, and the cPanel backups video shows the account backup.

When you need a database

Common problems

  • The name is rejected: it may be taken, or it may have a space or a capital letter. Try a shorter lowercase name.
  • The user cannot connect: it may not be added to the database yet. Repeat step 3.
  • phpMyAdmin shows an error: sign out of cPanel, sign in again and click the link once more.
  • You forgot the password: it cannot be read back. Create a new one for the user, then update your site settings. Our guide on strong passwords has tips.

Keep your site safe

Use a strong, different password for every database user, and give each user only the privileges it needs. Read our WordPress security basics for more habits.

FAQ

Do I need to know SQL?

No. Creating the database and the user needs only the forms in cPanel.

Can one user open two databases?

Yes. Add the user to each database in step 3.

Is phpMyAdmin safe to use?

It opens from inside cPanel, where you are already signed in. Be careful when you delete or change tables, and export a copy first.

More Hosting basics guides
Still need help?Our support team can look at your account and your case.
Open a support ticket

© 2026 Sulserv. All rights reserved.

Hosting. Domains. Support.System Status