mysqlphpmyadminmysql-error-1045

How do I get phpMyAdmin to connect to a local mysql server?


I have my config.inc.php file, and have set my host name to localhost. Unfortunately, I have no idea what my username/password should be. Is that something I need to configure on the MySql side? I tried creating an arbitrary username/password (admin/password), but when I try to log into phpMyAdmin with those credentials, I get an error: (#1045 - Access denied for user 'admin'@'localhost' (using password: YES))

Can anyone point me in the right direction? (Sorry for the dumb question; I just haven't had to install mysql before. I've always had a host name / username / password given to me.)

Thanks!


Solution

  • here you have the default privileges in mysql, and how to change them.

    http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html