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] http://pastebin.com/XbWnHj1G