mysql's permission

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

mysql's permission

Postby hanpedro » 19. November 2008 01:11

I have reinstalled xampp, and copied dbs to /opt/lampp/var/mysql/data.

But phpmyadmin shows
"#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) "

I think this is permission problem.

I have make the permssions of xampp directories as follows:

chown -R user:webteam /opt/lampp/cgi-bin
chown -R user:webteam /opt/lampp/htdocs
chown -R user:webteam /opt/lampp/logs
chown -R user:webteam /opt/lampp/etc
chown -R user:webteam /opt/lampp/tmp
chown -R mysql:mysql /opt/lampp/var/mysql

chown -R user/opt/lampp/var/mysql/user

chmod -R 744 /opt/lampp/cgi-bin
chmod -R 744 /opt/lampp/htdocs
chmod -R 744 /opt/lampp/logs
chmod -R 744 /opt/lampp/etc
chmod -R 777 /opt/lampp/tmp
chmod -R 700 /opt/lampp/var/mysql


What am I worng?
hanpedro
 
Posts: 133
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests