From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EAa6m-0005bJ-K7 for garchives@archives.gentoo.org; Wed, 31 Aug 2005 21:27:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7VLNDf0017574; Wed, 31 Aug 2005 21:23:13 GMT Received: from dragon.abnormalcoders.net (cpe-72-224-83-64.nycap.res.rr.com [72.224.83.64]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7VLIRQP008836 for ; Wed, 31 Aug 2005 21:18:27 GMT Received: (qmail 1270 invoked from network); 31 Aug 2005 18:31:55 -0400 Received: from unknown (HELO ?192.168.10.102?) (192.168.10.102) by 192.168.10.2 with SMTP; 31 Aug 2005 18:31:55 -0400 Subject: Re: [gentoo-user] Trouble with mysql From: Eric Crossman To: gentoo-user@lists.gentoo.org In-Reply-To: <1125521529.11373.9.camel@baby.espersunited.com> References: <1125521529.11373.9.camel@baby.espersunited.com> Content-Type: text/plain Date: Wed, 31 Aug 2005 17:20:47 -0400 Message-Id: <1125523247.12457.63.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8c5f778b-8dca-455b-808c-4eb732aa236b X-Archives-Hash: 4f2e5347803ded7761f0c4d89cc49f4d On Wed, 2005-08-31 at 15:52 -0500, Michael Sullivan wrote: > I am having trouble with /etc/init.d/mysql. I rebooted my system, and > when it finished rebooting I tried to connect to the mysql daemon and > failed. I looked in /var/log/mysql: There was a file there called > mysql.err. The contents were: > > 050831 15:47:29 mysqld started > 050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already > in use > 050831 15:47:30 Do you already have another mysqld server running on > port: 3306 ? > 050831 15:47:30 Aborting > > 050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete > > 050831 15:47:30 mysqld ended > > > I tried netstat | grep '3306': > > bullet mysql # netstat | grep '3306' > bullet mysql # > > The output was blank, so I assume that port 3306 is NOT in use. Any > ideas? > Try netstat -an | grep 3306. The "-n" option forces netstat to show port numbers and not translate them to familiar names. The "-p" option is also useful to determine what program has opened the port. Eric -- gentoo-user@gentoo.org mailing list