mySQL does not start

Problems with the Linux version of XAMPP, questions, comments, and anything related.

mySQL does not start

Postby windom » 24. December 2009 09:37

Hi,

I messed with /opt/lampp folder permissions a bit and mySQL does not start anymore. What folders need what permissions/ownership for it to work properly? And/or how could I get more informative error message instead of "Could not start mySQL!"? Thanks in advance!
windom
 
Posts: 1
Joined: 24. December 2009 09:23

Re: mySQL does not start

Postby glitzi85 » 28. December 2009 21:24

If you just messed up the owner, then this should help:
Code: Select all
chown -R nobody:root /opt/lampp/var/mysql

if the permissions are also wrong, use those three commands:
Code: Select all
chmod 775 /opt/lampp/var/mysql
find /opt/lampp/var/mysql/ -type d -exec chmod 700 {} \;
find /opt/lampp/var/mysql/ -type f -exec chmod 660 {} \;

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 58 guests

cron