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 Add a User to a Database and Grant Privileges

Add a database user to a database and grant privileges in cPanel. Steps for KickHost customers in Canada.

Share

A database user needs permission before a website can use a database. In cPanel you link the user to the database and choose the privileges.

1. Log in to your cPanel account.

2. In the Databases section, click on MySQL Databases.
Mysql databases - How to Add a User to a Database and Grant Privileges

3. Scroll down to the end of the page and under Add User to Database. Select a user from the drop-down list, and choose a Database from the list.

4. Click on Add.
Add db - How to Add a User to a Database and Grant Privileges

5. On Manage User Privileges. Mark the box ALL PRIVILEGES and click on Make Changes.
Add privileges - How to Add a User to a Database and Grant Privileges

Which privileges to choose

Most websites such as WordPress need ALL PRIVILEGES. For limited tasks, you can grant fewer privileges for better security.

Update your configuration

After linking, put the database name, username and password in your website configuration file, for example wp-config.php for WordPress.

Frequently asked questions

Why do I get a database connection error? Check the database name, username and password. Both name and user usually start with your cPanel username prefix.

Can one user access several databases? Yes. Add the user to each database you want it to use.

Related guides

Need cPanel hosting in Canada? See KickHost hosting plans or contact our team.

Found this useful? Share it.

Using KickHost in Canada?

KickHost supports Canadian customers with prices in Canadian dollars, .ca and .com domain registration and a choice of data centre locations. KickHost does not list a Canadian data centre, so ask the team if your data must stay in Canada. If you get stuck, open a support ticket from your client area.

Related: Canadian web hosting · .ca domains · contact the team

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