Page 1 of 1

path to mysql.sock needs changing

PostPosted: 29. September 2005 13:13
by alex905
i hjave inatlled your serveer and have run into another problem which is when i try to run a script called xpanel in cgi i is given the wrong path to mysql.sock it says

cant connect to local mysql server through socket /var/lib/mysql/mysql.sock

i know that the actual mysql.scock is in the lampp directory, i have searched through all the config files but i coulden find were it asked to specify that so im guessing its built into the system.

i had ago at installing mysql but failed so that could be the prob because i didnet know how o uninstall it.

so what i want to know is how to set the path to mysql.sock or if neede uninstall the half installed version of mysql

PostPosted: 29. September 2005 13:15
by Wiedmann
when i try to run a script called xpanel in cgi

You are using the Perl from XAMPP or the Perl from your system for cgi?

PostPosted: 29. September 2005 19:42
by alex905
to be honest i dont know i have a feeling that its running from my system though

PostPosted: 29. September 2005 19:52
by deepsurfer
your perlscripts have in the first line the way to perl...


for System

Found the answer

PostPosted: 13. October 2005 16:59
by movil

Q. I just installed Jabberd 2 stable 3. Why do I get errors stating that the database connection to MySQL failed?
A. Jabberd 2 stable 3 connects to the MySQL server socket at /tmp/mysql.sock. The default socket when installing MySQL from source is /var/lib/mysql/mysql.sock. You will need to create a symlink to /tmp/mysql.sock if it does not exist:

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock