How do i give a user privileges to access only one database?

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
Dan Mark
Posts: 0
Joined: Sat Sep 17, 2016 8:11 am

How do i give a user privileges to access only one database?

Post by Dan Mark »

How do i give a user privileges to access only one database?



Martin
Posts: 36
Joined: Fri Sep 16, 2016 10:34 am

Re: How do i give a user privileges to access only one database?

Post by Martin »

You can grant user privileges to database through cPanel. Do the below steps to grant privileges to a database :

1. Log in to cPanel

Link to access cPanel : https://domain.com:2083

2. Enter cPanel username and password to login

3. Click on 'MySQL Databases' Under 'Databases'

4. Scroll down the page and you can see the option "Add User To Database"

5. Select the user and database from the dropdown and click on 'add



Post Reply