Note : your XAMPP is successfully installed and working well.
Step 1 : Start MYSQL using sudo /opt/lampp/lampp startmysql
Step 2 :
IF you have not provided user password then : /opt/lampp/bin/mysql -u root
Else with username and password : /opt/lampp/bin/mysql -u root –p mypassowrd
Sign up here with your email