HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Mysql Sock not found! (http://www.howtoforge.com/forums/showthread.php?t=29941)

Host2Design 2nd January 2009 16:22

Mysql Sock not found!
 
Hello,

Does someone know why i get the following error.
Code:

ERROR: Could not find mysql.sock! The installation routine stops here!
I have done several install's of ISPConfig. I never got this one. :confused:

Code:

find -name mysql.sock
./var/lib/mysql/mysql.sock


The install is done following the perfect setup from Falko (Thank you for that)
On Mandriva 2009.0

Tried with ISPConfig-2.2.29 and ISPConfig-2.2.28 same problem

Help is appreciated :)

Frits

falko 3rd January 2009 15:53

What are the outputs of
Code:

ls -la /var/lib/mysql
and
Code:

netstat -tap
?

Host2Design 3rd January 2009 18:59

Mysql sock not found
 
Hi Falko,

Thanks for your reply !!

Code:

ls -la /var/lib/mysql
totaal 20540
drwx--x--x  5 mysql mysql    4096 2009-01-03 12:53 ./
drwxr-xr-x 27 root  root      4096 2009-01-02 09:47 ../
-rw-rw----  1 mysql mysql 10485760 2009-01-03 08:03 ibdata1
-rw-rw----  1 mysql mysql  5242880 2009-01-03 12:53 ib_logfile0
-rw-rw----  1 mysql mysql  5242880 2009-01-01 14:54 ib_logfile1
drwx--x--x  2 mysql mysql    4096 2008-09-29 09:03 mysql/
srwxrwxrwx  1 mysql mysql        0 2009-01-03 12:53 mysqlmanager.sock=
srwxrwxrwx  1 mysql mysql        0 2009-01-03 12:53 mysql.sock=
drwx--x--x  2 mysql mysql    4096 2008-09-29 09:03 test/
drwx--x--x  2 mysql mysql    4096 2009-01-03 12:53 .tmp/

and for readability left out all other processes

Code:

netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address              Foreign Address            Stat                                                                            e      PID/Program name
tcp        0      0 *:mysql-im                  *:*                        LIST                                                                            EN      2921/mysqlmanager
tcp        0      0 *:mysql                    *:*                        LIST                                                                            EN      2929/mysqld

As you see mysqld is installed and running :confused:

Host2Design

falko 4th January 2009 12:41

I'm not sure why you have the socket mysql.sock=...

What's in MySQL's init script (in /etc/init.d) and in /etc/my.cnf?


All times are GMT +2. The time now is 16:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.