xxxxxxxxxx
sudo killall mysqld
then
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
xxxxxxxxxx
sudo rm -rf ~/.bitnami // type this command in your terminal.
//THIS WILL SOLVE THIS PROBLEM BUT WILL DELETE ALL YOUR DATABASES
xxxxxxxxxx
18
1
If you have MySQL already installed on your windows then go to services.msc file on your windows and right click the MySQL file and stop the service, now open your XAMPP and start MySQL. Now MySQL will start on the port 3306.
1. Go to /opt/lampp/var/mysql
2. Rename these files (ib_logfile0, ib_logfile1)
3. Start your server