|
-
Jul 20th, 2009, 01:01 AM
#1
[RESOLVED] Changing Privileges Via PHP Admin
I was wondering if anyone here knows where online I can find an easy to understand explanation to changing privileges in PHP Admin. I read through the documention listed in PHP Admin but it doesn't mention what the user types are or the different hosts.
Edit:
The reason I'm asking is because kfcSmitty mentioned in another thread that one should avoid allowing all users access to the root directory.
 Originally Posted by kfcSmitty
Create a user and give them access to the databases.
Users should never be using root access to access your databases. Limiting them to the basics of what they need is best.
If you have phpMyAdmin, it has a fairly simple interface to achieve this.
Last edited by penagate; Jul 20th, 2009 at 04:07 AM.
Reason: Adding more
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jul 20th, 2009, 04:07 AM
#2
Re: Changing Privileges Via PHP Admin
I think you meant to post this as a new thread... so I've made it so.
-
Jul 20th, 2009, 07:26 AM
#3
Re: Changing Privileges Via PHP Admin
Yeah, I was originally going to post it as a new thread but I didn't know if what I was asking was separate question or followed on if the thread I started before.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jul 20th, 2009, 08:59 AM
#4
Re: Changing Privileges Via PHP Admin
Basically, the privileges are what you want to allow the user to do, and the host is where you want the user to be able to connect from.
Good practice only allows root access from 127.0.0.1/localhost.
So when creating a new user you
1. Set the username to whatever you want
2. Set the host to whoever you want to allow to connect (IE internal addresses only, localhost. Wildcard is %
3. Create or generate a password
4. If you are creating a database for this particular user, they give you a handy tool to grant all privs.
5. Then add all the privileges to the user you want.
If you have a user that only needs to pull data, you would set them to "Select" only on under the "Data" heading.
If you wanted a user to be able to select, update or insert, then you would select those 3 options.
I tried to find a tutorial through Google, but only found people asking questions and people suggesting running mysql commands to handle what they need.
-
Jul 21st, 2009, 02:37 AM
#5
Re: Changing Privileges Via PHP Admin
Ah, I was thinking there was group option where you could place each user if you want to make them an admin, etc! Basically, I thought you could just select a user group from a drop-down box.
Last edited by Nightwalker83; Jul 23rd, 2009 at 07:14 PM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|