Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 90124  / 2 Years ago, mon, november 7, 2022, 9:50:22

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:




  1. every time i restart my ubuntu i have to retype



    sudo /etc/init.d/mysql stop


  2. 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..


More From » mysql

 Answers
6

I've resolved in this way:



sudo chmod -R 777 /opt/lampp
sudo chown -hR nobody /opt/lampp
sudo chmod -R 755 /opt/lampp


then I noticed that I have another mysqld instance running and stoped it with:



sudo service mysql stop

[#37946] Wednesday, November 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
trousransla

Total Points: 285
Total Questions: 112
Total Answers: 113

Location: Spain
Member since Thu, Dec 23, 2021
2 Years ago
;