Looks like you didn't grant yourself access to the database. Try this
Code:
GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'password' WITH GRANT OPTION;
I think that's right... you can look it up if t isn't
root and password can be changed to your username and password for mysql