I'm following a tutorial that first had me set a database password for my root localhost account, then asked me to go to config.inc.php to change it. I have been unsuccessful in doing so.
What have I tried:
1. Editing the file using the command from this Stack Overflow, received 'permission denied':
- Code: Select all
sudo nano config.inc.php
https://stackoverflow.com/questions/33515739/editing-the-file-config-inc-php
2. Editing the permissions on the file using this command from a link recommended in the stack overflow:
- Code: Select all
chmod 0755 config.inc.php, permission denied
https://blog.elijaa.org/2013/02/18/solve-wrong-permissions-on-configuration-file-should-not-be-world-writable-error-on-phpmyadmin/
I checked with a more knowledgeable friend, who pointed out that I don't own it.
3. So I opened the terminal that comes with XAMPP, but there is nothing in it that behaves like a directory.
- Code: Select all
root@debian:~# ls -a
. .. .bash_history .bashrc .profile .ssh bitnami-first-boot-123456
root@debian:~# cd bitnami-first-boot-123456
-bash: cd: bitnami-first-boot-123456: Not a directory
I'm just ... lost. This tutorial, and the udemy course that follows it, all use XAMPP, but I can't seem to edit the file at all. Any thoughts, folks?