point apache to mysqld sock

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

point apache to mysqld sock

Postby misterbusy » 16. August 2006 18:47

Hi all
I want to run lampp apache but with the debian mysqld ( dont ask why its a long story :oops: )
how do i change the socks version it uses

this is error im getting
MYSQL Error: Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2)
want to change that to use /var/run/mysqld/mysqld.sock

thanks
misterbusy
 
Posts: 2
Joined: 16. August 2006 18:30

Postby Wiedmann » 16. August 2006 18:53

point apache to mysqld sock

You mean:
You will use the PHP (not Apache) from XAMPP with the MySQL from your base system?

MYSQL Error: Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2)
want to change that to use /var/run/mysqld/mysqld.sock

Change the setting "mysql.default_socket" in the file "php.ini" to the correct socket.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby misterbusy » 16. August 2006 20:12

Brillaint
thank you ! :lol:
misterbusy
 
Posts: 2
Joined: 16. August 2006 18:30


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests