Solved

phpmyadmin access with user other than root

Posted on 2011-03-14
3
333 Views
Last Modified: 2013-11-15
Hi,
My web developer needs to access a specific database, and he wants to be able to use phpmyadmin for that purpose. I created a user for him which has all the priviledges for that specific database. However I do not want him to know my root password. Is there any way he can access phpmyadmin and only work within its priviledges?

Cheers!
0
Comment
Question by:degaray
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Accepted Solution

by:
Mark Brady earned 500 total points
ID: 35133182
Yes, if you create a new user you can give him ALL privillages on a specific database ONLY and he can connect only to that database not others. You should of course test the new user before handing it to him. Write a connection script using his username/password combination and connect him to his database. Make sure that works, then try connecting him to any other database and make sure you get permission denied error.
0
 
LVL 4

Author Closing Comment

by:degaray
ID: 35133330
There was something wrong going over there, however, I deleted the user and created a new one just the way you told me and that seems to work.
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35133390
excellent!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question