In the default installation, XAMPP-VM has no passwords set and it is not recommended to run XAMPP-VM with this configuration accessible by others.To make the installation more secure:
Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller framework, providing default structures for a database, a we. HTTPS is available by default for all projects and the bundled Intranet. ⭐ HTTP/2 support: All HTTPS connections will offer HTTP/2 as the default protocol, except for Apache 2.2 which does not support it. ⭐ Auto virtual hosts: New virtual hosts are created automatically and instantly whenever you add a project directory. However, in case you choose this method, then # start replication for the first time (even unsuccessfully, for example # if you mistyped the password in master-password and the slave fails to # connect), the slave will create a master.info file, and any later # change in this file to the variables' values below will be ignored and # overridden. Force mysql:latest to use mysqlnativepassword as default auth method; Switch to mariadb; The first option I on the list I would rather to avoid as much as possible. Second option is the current workaround provided in this same thread.
- Launch the stack manager by double-clicking the XAMPP icon in the mounted disk image.
- Ensure that all services are running in the 'Services' tab of the stack manager (or start them as needed).
- Open a new terminal from the 'General' tab of the stack manager and run the following command in it:
tail -2 /opt/lampp/logs/error_log
- You should see the following dialog on your screen. Enter responses to each prompt.
XAMPP: Quick security check...
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] yes
XAMPP: Turned off.
XAMPP: Stopping MySQL...
XAMPP: Starting MySQL...
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Write the passworde somewhere down to make sure you won't forget it!!!
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Setting new MySQL root password.
XAMPP: Setting phpMyAdmin's root password to the new one.
XAMPP: The FTP password for user 'nobody' is still set to 'lampp'.
XAMPP: Do you want to change the password? [yes] yes
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Reload ProFTPD...
XAMPP: Done.
Brew Mariadb Default Password Recovery Tool
Brew Mariadb Default Password Configuration
After calling this command, your XAMPP-VM installation should be more secure.