XAMPP: Couldn't start MySQL!

The file permission in Linux still gets me every now and then; specifically, after I had to reinstall XAMPP to my freshly OS Linux Mint Isadora. After trying to figure out where MySQL server is and what port it is running from, and etc... I've evidently complicated the problem more than necessary.  This is what I've done to get my server running again. Let's cut to the chase.

# chmod -R 777 /opt/lampp

# chmod 755 /opt/lampp/etc/my.cnf
# chmod 755 /opt/lampp/etc/httpd.conf
# chmod 755 /opt/lampp/etc/php.ini
# chmod 755 /opt/lampp/etc/proftpd.conf
# chmod 755 /opt/lampp/phpmyadmin/config.inc.php
# /opt/lampp/lampp restart

This took care of my problem!

9 comments:

CodeMonkey said...

THANKYOU!!! bookmarked

Anonymous said...

Thanks!!!!!! that solved my life :S

Anonymous said...

THANKYOU FROM SERBIA

Anonymous said...

thnx dear.. nice

Anonymous said...

Thankyou so much!!!!!!

Anonymous said...

thanks =)

Anonymous said...

thanks you save my life too

Anonymous said...

it works,,,many thanx

daretodie said...

yo men, thank's for your tutorial. I got myself fixed with this. :D

Post a Comment