Tuesday, November 1, 2011

LAMPP Couldn't start MySQL!

Today i've experienced that MySQL of XAMPP 1.7.7 (Linux) couldn't be started.
I am using F14 64bit, after several duckduckgo and google finally a light.
Here is the how to:
1. chown -Rf myself.mygroup /opt/lampp/var/mysql
(**note that your lampp installation path may be vary,
to keep it simple i use the default)

2. edit the /opt/lampp/etc/my.cnf
[mysqld]
user = nobody
to
user = myself

*) modify myself and mygroup to your linux username and group
Thats it, run the mysql, /opt/lampp/lampp startmysql and hopefully it will start with
any problem.

No comments: