To reiterated @SpacePhoenix ;s point, it looks as though you need to study the mysql permissions system -- and in case you miss this snippet of information, probably one of the most common gotchas in LAMP development, mysql flush privileges when you are done.
That is if you got the password correct in your attempt of course ...
Bookmarks