xampp mysql database not starting code example

Example 1: mysql database is not starting in xampp

sudo service mysql stop
sudo /opt/lampp/lampp restart

Example 2: mysql server not starting in xampp in mac

sudo rm -rf ~/.bitnami  // type this command in your terminal.
//THIS WILL SOLVE THIS PROBLEM BUT WILL DELETE ALL YOUR DATABASES

Example 3: mysql not starting in xampp

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.

Tags:

Sql Example