Every time I installed phpmyadmin in my ubuntu desktop, navigating to http://localhost/phpmyadmin simply displays a 404 message. This is how I fix everytime –
[shell]$ sudo ln -s /usr/share/phpmyadmin /var/www[/shell]
Fixing AllowNoPassword
I don’t use any password for mysql in my development invironment. But by default phpmyadmin doesn’t allow you to login without a password. You can overcome it by editing the /etc/phpmyadmin/config.inc.php. Open the file with root previledge –
[shell]$ sudo gedit /etc/phpmyadmin/config.inc.php[/shell]
And uncomment this line
[php]$cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE;[/php]