You need to do a couple of things in a certain order.
- go into phpMyAdmin as the root user.
- click on Users on the home page.
- add user for your database table.
- go back to home page and Reload the database to update the priviledges. You must do this!
You can then go into config.inc.php (located where you installed phpMyAdmin) and configure phpMyAdmin to authenticate with your new user, by adjusting:
$cfgServers[$i]['user']
$cfgServers[$i]['password']
to your new user and password.
Also, configure:
$cfgServers[$i]['auth_type']
to the options given. HTTP is neat.
I usually do this so that no one enters the database with root access via phpMyAdmin, and I usually users with limited priviledges over the databases.
I hope this helps.🙂