Skip to main content

Wrong permissions on configuration file, should not be world writable!

are u using lampp in ubuntu 10.10 and ur localhost page is wokring fine, but when u click on phpmyadmin u get this stupid error
"Wrong permissions on configuration file, should not be world writable!"

From what I feel is because we have set username password for mysql and have not updated the right file so that phpmyadmin can know about it so,

1.go to /opt/lampp/htdocs/xampp
2.look for mysql.php
3.update the mysql_connect("localhost") line (it will be inside a if loop) to
mysql_connect("localhost"."mysql_username","passwo rd");

and then u can chmod the file to 0755.

Comments