I am new in Ubuntu, I installed XAMPP in my Ubuntu 10.04. When I start XAMPP it says MySQL couldn\'t start.
Here is my terminal ouput:
$ sudo /opt/lampp/
It might be the right permissions
problem. Some solutions guide you to set it to 777
which is not recommended. Try to set it to original permissions as installed. (especially after you restore from a tar without preserving the permissions)
sudo /opt/lampp/lampp stop
sudo chown nobody.root /opt/lampp/var/mysql/cdcol /opt/lampp/var/mysql/mysql /opt/lampp/var/mysql/phpmyadmin -R
sudo chown nobody.nogroup /opt/lampp/var/mysql/yourdbname -R
sudo /opt/lampp/lampp start