$ sudo apt-get install phpmyadmin

For versions 7.10 and up, choose “Apache 2” from the screen “Configuring phpmyadmin”

If everything goes fine, you can access phpmyadmin from
http://servername/phpmyadmin

If you have created users in MySQL, you can use those credentials to log into the database. The basic admin account is “admin” with no password.

Phpmyadmin defaults to requiring you to login after 1800 seconds of inactivity.

» MySQL Create User, Grant Rights http://kurinchilamp.kurinchilion.com/2009/04/mysql-create-user-grant-rights.html