phpmyadmin on (K)Ubuntu 10.10 not working?
phpMyAdmin is just about the greatest tool if you want to manage your MySQL database. Installation is quite simple, but somewhere something went wrong somehow…
Installation is as simple as:
sudo apt-get install mysql-server
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin
But when I head out to http://localhost/phpmyadmin I get a 404 – Not Found. Delving a bit deeper into the problem, I found the “usual” symlink in /etc/apach2/sites-available (Apache’s site config) is not there.
Head out to /etc/phpmyadmin, there is an apache.conf there, which is just about the stuff Apache eats for config. Great!
sudo ln -s /etc/phpmyadmin/apache.conf 001-phpmyadmin
makes a symlink to the configuration. I called it 001-phpmyadmin because 000-default already existed (the three digits represent the order in which they are loaded).
Now, restart the Apache server:
sudo apachectl restart
And http://localhost/phpmyadmin works!
Additional troubleshooting:
Cannot log in – during installation, you will be prompted to supply a password for the phpmyadmin user for mysql. Logging in to phpmyadmin using ‘root’ and this password should work
Still don’t get it? – this post on the Ubuntu forums may help.
A similar post: phpMyAdmin not working on Ubuntu on Code Sprints blog.
Great! thanks for the reply.
If you are facing some problem with phpmyadmin then consult this post [http://codesprints.blogspot.in/2012/04/phpmyadmin-not-working-ubuntu.html].