Page 1 of 1

point apache to mysqld sock

PostPosted: 16. August 2006 18:47
by misterbusy
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

PostPosted: 16. August 2006 18:53
by Wiedmann
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.

PostPosted: 16. August 2006 20:12
by misterbusy
Brillaint
thank you ! :lol: