Page 1 of 1

Existing configuration file (./config.inc.php) is not readab

PostPosted: 30. January 2008 16:51
by hoogie
Hi All,

I'm new here, new to xampp, and new to linux (a triple threat).

I was working to get my phpadmin set up and added passwords for the root and pma. Of course, this then denied me access to phpmyadmin. After a quick google search, I learned that I needed to change the password in the config.inc.php file. To do this, I had to change ownership of the folder, which I did. I opened the folder in Text Editor and put my passwords in the appropriate places and saved it. Then I went back to the terminal and changed the ownership back to root:root.

Now I get the message:

Existing configuration file (./config.inc.php) is not readable

Any takers?

A secondary newbie question: where do I go to interact with mysql using straight sql? (not the phpmyadmin GUI).

Thanks so much for your time.

PostPosted: 30. January 2008 20:07
by hoogie
Ok, I got it figured out.

Somehow when I changed the ownership around, it changed it so only root had read access. I gave everybody read access and it worked again.

I'm still curious if there's a mysql console somewhere that allows you to interact with straight sql. If anyone knows the answer I'd be grateful.

Thanks.

PostPosted: 31. January 2008 12:41
by Dave_L
You can access mysql from the command shell:

$ /opt/lampp/bin/mysql --help

Also, there are other related utilities such as mysqladmin and mysqldump.

Reference: http://dev.mysql.com/doc/refman/5.0/en/ ... lient.html