> mysql -u phpmyadmin -p > Enter password: ERROR 1045 (28000): Access denied for user > 'phpmyadmin'@'localhost'
The ting about mysql is, that it's not enough to just create a user and give him a password. you also have to grant this user access to the database you wish to connect to. Last thing is: you also have to set the hosts from this user may be allowed to access the database, in your case I guess that would be 'localhost'