You need to grant the use priviledges in MySql. It can be done like this:
Code:
USE mysql;

GRANT ALL ON dbname.* TO 'username'@'host' IDENTIFIED BY 'password';