i've tried to download XAMPP, untar it in /opt/lampp and launch
sudo ./lamp start
but i get this output:
Starting XAMPP for Linux 1.7.7...
XAMPP: Another web server daemon is already running.
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.
so i opened synaptic and i have installed mysql server.
now i have 2 problems, if i restart my ubuntu 10.10:
every time i restart my ubuntu i have to retype
sudo /etc/init.d/mysql stop
if after stop mysql daemon i relaunch lampp i get same message: XAMPP: Couldn't start MySQL!
/var/log/mysql.err and /var/log/mysql.log are empty..
I've resolved in this way:
then I noticed that I have another mysqld instance running and stoped it with:
This post on Stack Overflow helped me:
etc
folder in the XAMPP installation directory.my.cnf
file and open it in any text editorinnodb_force_recovery=1
undermyisam_sort_buffer_size=8M
my.cnf
fileYou get a message "Starting MySQL SUCCESS!"
It worked for me.