Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just created locally a new host pointing to a new Virtual Host.

And added through command line a new user at the new host.

So like 'user1'@'localhost' I now have 'user2'@'local2' .

The problem is I don't know how to access phpmyadmin for the new user.

Edit : here is the phpmyadmin [config file]

share|improve this question

migrated from Jan 24 '13 at 0:37

This question came from our site for professional and enthusiast programmers.

Instead of putting the config file, it'd be better if you tried explaining the problem? – hjpotter92 Jan 22 '13 at 22:21
ok. Sorry my english is not so good. I just need to access phpmyadmin but for the mysql user at the new host. Hope I made it clear now. – t0s Jan 22 '13 at 22:25
What I understood from that was, you need to add another user? – hjpotter92 Jan 22 '13 at 22:26
I added a new mysql user for a new host I created ( different than localhost ) and just need to login to phpmyadmin for that user – t0s Jan 22 '13 at 22:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.