path to mysql.sock needs changing

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

path to mysql.sock needs changing

Postby alex905 » 29. September 2005 13:13

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
alex905
 
Posts: 9
Joined: 28. September 2005 22:24

Postby Wiedmann » 29. September 2005 13:15

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?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby alex905 » 29. September 2005 19:42

to be honest i dont know i have a feeling that its running from my system though
alex905
 
Posts: 9
Joined: 28. September 2005 22:24

Postby deepsurfer » 29. September 2005 19:52

your perlscripts have in the first line the way to perl...

for XAMPP
#!/opt/lampp/bin/perl

for System
#!/usr/sbin/perl
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

Found the answer

Postby movil » 13. October 2005 16:59

http://jabberd.jabberstudio.org/2/docs/app_faq.html

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
movil
 
Posts: 2
Joined: 13. October 2005 16:27


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests