LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 642|回复: 2

mysql連接記錄有10個Pid之後,就再也連不上,只有殺

[复制链接]
发表于 2004-9-13 11:26:56 | 显示全部楼层 |阅读模式
chkconfig --list
mysql           0ff   1ff   2n    3n    4n    5n    6ff
[root@shlinux root]# mysql -u root -p kent5766
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys
ql.sock' (2)
[root@shlinux root]# ps -aux | grep mysql
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root     11078  0.0  0.2  3428 1284 ?        S    Sep10   0:00 /bin/sh ./safe_mysqld
mysql    11095  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11096  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11097  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11098  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11099  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11100  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11101  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11102  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11103  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
mysql    11104  0.0  1.6 28320 8376 ?        S    Sep10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/shlinux.sh.at-scale.com.pid --skip-locking
root      3986  0.0  0.1  2952  820 pts2     R    11:29   0:00 grep mysql
[root@shlinux root]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.3-beta-standard

mysql連接記錄有10個Pid之後,就再也連不上,只有殺掉這10個pid才可以進入..
請問在哪裏去掉限制...
我是自己用tar 包安裝的...
发表于 2004-9-13 18:19:59 | 显示全部楼层
kill 了 10078 应该就可以了吧
 楼主| 发表于 2004-9-13 18:41:03 | 显示全部楼层
這台電腦總喜歡這樣...請問到底怎麽回事..........
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表