Unable to modify config.inc.php

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Unable to modify config.inc.php

Postby vannes » 11. July 2017 11:13

Greetings to the community. I have tried to change the password in mySQL, but I cannot modify config.inc.php due to a permissions issue.

The file is not locked, however. After reading a lot of threads, the suggestions were to sudo nano the file in Terminal, or chmod various numbers (0755, 644), solutions that have worked for some users, but unfortunately not for me.

Last thing I checked was an extra layer of security in macOS El Capitan and forth, SIL (Security Integrity Level).

Does anybody have a clue?
vannes
 
Posts: 3
Joined: 11. July 2017 11:00
XAMPP version: VM 7.1.6
Operating System: macOS Sierra 10.12.5

Re: Unable to modify config.inc.php

Postby vannes » 12. July 2017 08:09

Update: I found the solution in my case.

1. From the starting page of Xampp choose open terminal.

2. In case nano command is not installed, run the following command:
Code: Select all
sudo apt-get install nano


3. Guide to the enclosing folder of confing.inc.php with the help of cd and ls commands. In my case, the file is in /opt/lampp/phpmyadmin

4. Run the following command:
Code: Select all
sudo nano config.inc.php


5. Make the necessary changes and save the file.
vannes
 
Posts: 3
Joined: 11. July 2017 11:00
XAMPP version: VM 7.1.6
Operating System: macOS Sierra 10.12.5


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 4 guests