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.
![]()
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.
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.
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 cPanel hosting in Kenya? See KickHost hosting plans or contact our team.
Found this useful? Share it.
