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
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
MySQL uses sockets if skip-networking is specified. MySQL is working, but it doesn't use networking then.