Irgendwelche Probleme mit XAMPP für Mac OS X? Dann ist hier genau der richtige Ort um nachzufragen. edit?

Postby barda » 02. July 2018 21:11

Hi there -

I'm following a tutorial that first had me set a database password for my root localhost account, then asked me to go to 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
2. Editing the permissions on the file using this command from a link recommended in the stack overflow:
Code: Select all
chmod 0755, permission denied

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?
Posts: 2
Joined: 02. July 2018 20:57
XAMPP version: Latest
Operating System: MAC

Re: edit?

Postby TonyVier » 04. July 2018 09:36

sudo chown root:root
Posts: 41
Joined: 24. May 2018 11:22
XAMPP version: 7.2.5-0
Operating System: Windows 10 pro

Re: edit?

Postby Nobbie » 04. July 2018 10:20

TonyVier wrote:sudo chown root:root

That makes it even worse...


sudo chmod 0666

but it might be possible, that even this command fails. The problem is, you are working with the XAMPP-VM version (why??) and that is installed like a netdrive in a virtually mounted device. Usually the file permissions in network drives are set at mounting time and cannot be changed after (even noot by root).

I recommend to de-install totally the XAMPP-VM version, instead install one of the other "normal" versions (there are at least three or four non-VM versions, only one VM version). These install simply into your /Applications folder and are much easier to handle.
Posts: 10279
Joined: 09. March 2008 13:04

Re: edit?

Postby barda » 06. July 2018 18:34

Thank you both for replying! (And ugh, only just now caught my spelling error in the post title. Facepalm, facepalm, facepalm.) I wasn't aware that I'd installed the VM version. I've uninstalled and will reinstall accordingly. Thanks for the tip!
Posts: 2
Joined: 02. July 2018 20:57
XAMPP version: Latest
Operating System: MAC

Return to XAMPP für Mac OS X

Who is online

Users browsing this forum: No registered users and 1 guest