You can give a database user access to another database (only if you really need to – usually each website has its own user), change its privileges and change its password – for example if the password may have fallen into the wrong hands.

Log in to cPanel – see the article “1.2. Logging in to cPanel”. In the “Databases” section of cPanel, open “Manage My Databases”.

1Add a user to a database

Scroll down to “Add User To Database”. Choose the user (“User”) and the database (“Database”) and click “Add”. On the next page, tick the privileges and click “Make Changes”.

Add a user to a database

2Change privileges

In “Current Databases”, click the user in the “Privileged Users” column. On the “Manage User Privileges” page, tick or untick privileges and click “Make Changes”.

For read-only access (for example a reporting tool), “SELECT” is enough.

Change privileges

3Open the password change page

In “Current Users”, click “Change Password” next to the user.

Open the password change page

4Set a new password

Click “Password Generator” or enter a strong password in both fields, and click “Change Password”.

✕Immediately afterwards, change the password in the website's configuration file too (WordPress – wp-config.php, Joomla – configuration.php), otherwise the website will not be able to connect to the database.

Set a new password
  • Principles of safe use: “Databases – what they are and how to use them safely”.

If you run into any difficulties, just write to us and we will help. support@area.lv

Was this answer helpful? 0 Users Found This Useful (0 Votes)