1 |
On Wed, 2005-08-31 at 15:52 -0500, Michael Sullivan wrote: |
2 |
> I am having trouble with /etc/init.d/mysql. I rebooted my system, and |
3 |
> when it finished rebooting I tried to connect to the mysql daemon and |
4 |
> failed. I looked in /var/log/mysql: There was a file there called |
5 |
> mysql.err. The contents were: |
6 |
> |
7 |
> 050831 15:47:29 mysqld started |
8 |
> 050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already |
9 |
> in use |
10 |
> 050831 15:47:30 Do you already have another mysqld server running on |
11 |
> port: 3306 ? |
12 |
> 050831 15:47:30 Aborting |
13 |
> |
14 |
> 050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete |
15 |
> |
16 |
> 050831 15:47:30 mysqld ended |
17 |
> |
18 |
> |
19 |
> I tried netstat | grep '3306': |
20 |
> |
21 |
> bullet mysql # netstat | grep '3306' |
22 |
> bullet mysql # |
23 |
> |
24 |
> The output was blank, so I assume that port 3306 is NOT in use. Any |
25 |
> ideas? |
26 |
> |
27 |
|
28 |
Try netstat -an | grep 3306. The "-n" option forces netstat to show port |
29 |
numbers and not translate them to familiar names. The "-p" option is |
30 |
also useful to determine what program has opened the port. |
31 |
|
32 |
Eric |
33 |
|
34 |
|
35 |
-- |
36 |
gentoo-user@g.o mailing list |