I am running phpMyAdmin and MySQL on XAMPP for Windows.
I am accessing the MySQL database in two ways. First, via
if you open
localhost/phpmyadmin you will find a tab called "Users", "Rights" or something like that. There you can define all your users that can access the mysql database, set their rights and even limit from where they can connect.