If your mysql could not start while starting the xampp
We have two way solutions to fix it, one is check the Files / Directory permission and another one is reinstall the xampp.
The First solution is try to change the files/directory permission (chmod) and user access permission (chown)
after changing you have to restart the xampp services.
Incase If it does not solve this issue try second solution, before removed / Uninstall the lampp stop the xampp and take a backup using mv or cp command.
Trying to reinstall the xampp under /opt directory.
Download the xampp latest version from url below url whether the 32-bit or 64-bit version
Have to change file permission for execute and run the installer
The Xampp is now installed below /opt/lampp directory and can start with below command,
You can enjoy with Xampp!!!