XAMPP Error

7:40 AM

Yesterday, after installing XAMPP and i try to write on terminal
sudo su
cd ../../
opt/lampp/lampp start
I've got message from terminal like here
XAMPP: Another MySQL daemon is already
XAMPP Another web server daemon is already

XAMPP stil runing but can't starting the service when i acces localhost. It's mean another web server is running and it's make conflict with XAMPP. I have two solution for fix it

  • Stop another web server service like apache, vsfptd, mysql, etc
  • Remove another web server service (recomended)
I choose the second way, because it's fix this problem forever. If you choose the first way, you will need to stop another service every you want to run XAMPP.

For error message
XAMPP: Another MySQL daemon is already
just run in terminal this code
sudo apt-get remove --purge mysql-server
because i've mysql-server in my Ubuntu, and i don't know when i installing this service

And for error message
XAMPP: Another web server daemon is already running.
just remove apache, vsfptd or another web service via synaptic or other. After do that, lets try to run
sudo su
cd ../../
opt/lampp/lampp start
I think you will get this, and you can acces your localhost, phpmyadmin using your favorite browser
xampp running
I've reference from here and here. Happy developing!


You Might Also Like

2 comments

  1. aku sih lebih milih install satu per satu apache, mysql, phpmyadmin, php dan bukan paketan dari lampp..

    ReplyDelete
  2. aku bingung kalau install satu persatu, makanya pakai punya lampp semua :D

    ReplyDelete

Popular Posts

Subscribe