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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby hoogie » 30. January 2008 16:51

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.
hoogie
 
Posts: 2
Joined: 30. January 2008 16:43

Postby hoogie » 30. January 2008 20:07

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.
hoogie
 
Posts: 2
Joined: 30. January 2008 16:43

Postby Dave_L » 31. January 2008 12:41

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
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests