Monday, January 5, 2009

Wrong permission in configuration file in phpMyAdmin

Actually I was trying to access phpMyAdmin from firefox. But i was constantly getting the same message
"Wrong permissions on configuration file, should not be world writable!" .

I did lil bit of googling as well but it didn't helped me either. I tried giving all the permissions(rwx) to owner, group & others using


kailash@kailash-desktop:~$ sudo chmod 777 /opt/lampp/phpmyadmin/config.inc.php

which couldn't solve it out either.
Finally , as the warning message suggests-"should not be world writable", i slightly tweaked my previous command to

kailash@kailash-desktop:~$ sudo chmod a-w /opt/lampp/phpmyadmin/config.inc.php

Ah!! it worked then. Thank you.

3 comments:

  1. Word to ya man! This helped me out a lot. I can finally get some sleep. Thanks!!!

    ReplyDelete
  2. Valeu, amigo.
    Ajudou pra caramba.

    Deny

    ReplyDelete
  3. Era isso mesmo o problema.............

    ReplyDelete