Unable to edit config.inc.php in the phpmyadmin configuration
XAMPP-VM runs within a Linux VM, so you can't access the config files directly within the macOS filesystem. To access the VM either open Terminal from the XMPP launcher



or run

ssh -i ~/.bitnami/stackman/machines/xampp/ssh/id_rsa -o StrictHostKeyChecking=no root@192.168.64.2


By default the XAMPP VM doesn't include any editor at all so you need to install one using apt-get:

apt-get update
apt-get install nano


Afterwards you can run nano /opt/lampp/phpmyadmin/config.inc.php to edit the file.

PS: Based on https://stackoverflow.com/questions/52932609/unable-to-edit-config-inc-php