services not running - mysqld

Discussion in 'Installation/Configuration' started by fbnewtz, Aug 8, 2006.

  1. bno10

    bno10 New Member

    netstat -tap |grep mysql

    gives nothing

    ps -edf | grep mysql

    gives:

    root 6725 1 0 14:40 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
    root 6761 6725 0 14:40 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
    mysql 6762 6761 12 14:40 ? 00:15:58 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
    root 6763 6761 0 14:40 ? 00:00:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
     
  2. falko

    falko Super Moderator Howtoforge Staff

    This means that MySQL doesn't use networking. What's in your my.cnf file?
     
  3. bno10

    bno10 New Member

    Mysql use networking. my site works normally and a lot of people use it

    I think I found the problem :)

    In my.cnf, there was a command (only for 4.1.15 ?):

    skip-networking

    I comment it and "netstat -tap" shows mysql now
    Thanks
     
  4. falko

    falko Super Moderator Howtoforge Staff

    MySQL uses sockets if skip-networking is specified. MySQL is working, but it doesn't use networking then.
     

Share This Page