Your country & currency

Make yourself at home. Choose your preferred shopping currency.

Your selected country opens its KickHost website. Your shopping currency is saved. Visit country website .

Guide

How to Create a Database Username in cPanel

Create a MySQL database username in cPanel. Database steps for KickHost customers in South Africa.

Share

A database user is the login your website script uses to reach its database. You create it in MySQL Databases and then link it to a database.

1. Log in to your cPanel account.

2. In the Databases section, click on MySQL Databases.
Mysql databases - How to Create a Database Username in cPanel

3. Under MySQL Users, in the Username field, enter the new username you want to create.

4. Enter your new password or use a password generator.
Createdb user - How to Create a Database Username in cPanel
5. Click on Create a User.

Tip: Write down the database username and password on a notepad so you can easily recall them while installing a script manually.

Use a strong password

Use the password generator and keep the password somewhere safe. You will need it in your website configuration file.

Next step: link the user

Creating a user is not enough. Add the user to a database and grant privileges so your script can read and write data.

Take care with databases

Export a copy before you change, repair or delete anything. If your site collects personal information from customers, a careless change can affect data that POPIA expects you to protect.

Frequently asked questions

Why does my username have a prefix? cPanel adds your account name in front of database users so they stay unique on the server.

Can I change the password later? Yes. Open MySQL Databases and use Change Password next to the user.

Related guides

Need hosting for your database-driven site? See KickHost hosting plans or contact our team.

Found this useful? Share it.

Need a hand with this?

Our team can help you choose the right domain, hosting or server and set it up properly.

Talk to our team See hosting plans