Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 39 phpmyadmin on (K)Ubuntu 10.10 not working? @ Freeminded.org Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 46

phpmyadmin on (K)Ubuntu 10.10 not working?

This entry was posted by on Tuesday, 8 February, 2011 at

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.

3 Responses to “phpmyadmin on (K)Ubuntu 10.10 not working?”

  1. Great! thanks for the reply.

  2. If you are facing some problem with phpmyadmin then consult this post [http://codesprints.blogspot.in/2012/04/phpmyadmin-not-working-ubuntu.html].

Trackbacks/Pingbacks

  1. OMNeT++ and how to use it with a database @ Freeminded.org

Leave a Reply