[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

phpmyadmin access with user other than root

Posted on 2011-03-14
3
Medium Priority
?
336 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 2000 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

650 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