Under privilege in your phpadmin,you add a new user with username and password.This is what you can now use to connect to your mysql anywhere you want to use it.i will be glad to help you if you still have any problem