By default, the MySQL/MariaDB installation that ships with XAMPP has an empty root password. This is a serious security risk, especially if you plan to use XAMPP in production scenarios. To change the MySQL/MariaDB root password, follow these steps: Ensure that the MySQL/MariaDB server is running. Open a new Linux terminal. Use the mysqladmin command-line utility to alter the MySQL/MariaDB password, using the following syntax: mysqladmin --user=root password "newpassword" The mysqladmin command-line utility is located within the bin/ subdirectory of the XAMPP installation directory, typically /opt/lampp . For example, to change the MySQL/MariaDB root password from its default empty value to the password gue55me , you would execute: /opt/lampp/bin/mysqladmin --user=root password "gue55me" Or, if a password has already been previously set and you’d like to change it to a new one, you can use the foll...
https://advanceitservices.ph/