I installed XAMPP and subsequently set a password for PHPMyAdmin & MySQL, which requires me to modify the file 'config.inc.php' to add my password to it. However, I simply can't find a way to successfully edit the file without getting a permission or operation error.
No matter what I try, I cannot modify the file to set up a password for PHPMyAdmin.
I have tried logging in as root user using nano to modify the file and I still get permission errors.
I've tried using my normal account and using sudo nano config.inc.php.
I've tried changing permissions on the file to 755 and 777 i.e. chmod 755 config.inc.php.
Currently, due to these issues I can't access PHPMyAdmin at all now. Hoping someone can provide a solution to this nightmare.
I'm running MacOS Mojave version 10.14.2, should have specified that my apologies!
When doing an ls -l on the file, I get:
-rw-r--r-- 1 daemon daemon 5109 18 Jan 09:40 config.inc.php