Page 1 of 1

XAMPP: Couldn't start MySQL! [Solved]

PostPosted: 06. May 2012 17:03
by empleada
I used Xampp since 2011 with Ubuntu 11.04. Everything was fine. Until i did something, maybe the instalation of MySql I don't know :s

Code: Select all

falconr@FalconR-Lenovo:~$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.





and this is my error_log

Code: Select all

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs



+ Info: Mysql administrator installed, mysql query browser installed
Extra: I purged mysql files in my System. But stills has the problem.

[EDIT by Altrea: splitted from OP - one thread per user and issue]

Re: XAMPP: Couldn't start MySQL!

PostPosted: 06. May 2012 22:00
by JonB
I Think you may have something here...

maybe the instalation of MySql I don't know
:shock:

Well since LAMPP has always come with MySQL, that could be the source all right. Perhaps you you like to share what you actually did???

You cannot easily mix and match parts with Server suites. The main components - Apache, Perl , PHP, and MySQL are tailored for each other and the particular version of the suite.

Have you had a previous installation of Apache or MySQL on this machine OTHER than XAMPP/LAMPP?

Good Luck
8)

Re: XAMPP: Couldn't start MySQL!

PostPosted: 10. May 2012 03:49
by empleada
I unistalled Mysql of my lap, but i can't still put in work Xampp. Yes ! i was wrong, i complete forgot about Xampp, because i needed Eclipse + Mysql :(

what could be the solution of this ? I mean, how can I make a clean uninstalation of MySql ?

Ronald

EDIT:
Problem solved!

I just install Synaptic, then write mysql and finally mark everything than is relative to mysql files and configs, then I uninstalled them, and Eureka ! Xampp is working again :mrgreen: :mrgreen: :mrgreen: :mrgreen:



Re: XAMPP: Couldn't start MySQL!

PostPosted: 14. May 2012 15:47
by JonB
VERY GOOD!

An elegant solution.

Have a good time with your project

8)