1

I have recently installed xampp using the following commands:

$ wget https://www.apachefriends.org/xampp-files/5.6.20/xampp-linux-x64-5.6.20-0-installer.run
$ chmod +x xampp-linux-x64-5.6.20-0-installer.run
$ sudo ./xampp-linux-x64-5.6.20-0-installer.run

After setting up xampp the other two server are running but MySQl server is not running after starting it

XAMPP

What is the problem and how can I fix it?I am using ubuntu 16.04

pavan
  • 65
  • 2
  • 3
  • 15
  • What happens when you press start while MySQL is selected? do you get any error messages? – mrfred489 Mar 01 '18 at 14:00
  • After clicking on start it is telling starting but after few minutes it is stopping – pavan Mar 01 '18 at 14:31
  • Try to [start it from the command line](https://askubuntu.com/a/179228/566421): `sudo /opt/lampp/lampp startmysql` and report the error messages if there are any. – pa4080 Mar 02 '18 at 10:07
  • No it is not giving any error after giving the command it said XAMPP: Starting MySQL...ok. – pavan Mar 03 '18 at 01:38

1 Answers1

0

It's because the mysql installed in ubuntu takes over the port which will inturn block the mysql of xampp. try removing mysql completely from ubuntu and try again. use following commands to uninstall mysql

sudo apt-get purge mysql*

sudo apt-get autoremove

sudo apt-get autoclean

and now start your xampp.It worked for me.

pavan
  • 65
  • 2
  • 3
  • 15