Mysql Sock not found!

Discussion in 'Installation/Configuration' started by Host2Design, Jan 2, 2009.

  1. Host2Design

    Host2Design New Member

    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
     
    Last edited: Jan 2, 2009
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What are the outputs of
    Code:
    ls -la /var/lib/mysql
    and
    Code:
    netstat -tap
    ?
     
  3. Host2Design

    Host2Design New Member

    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
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    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?
     

Share This Page