getanily
asked on
mysql installation on linux machine
When I tried to start mysql server , it is saying :
./mysqld start
040416 13:42:11 Can't start server: Bind on TCP/IP port: Address already in use
040416 13:42:11 Do you already have another mysqld server running on port: 3306 ?
040416 13:42:11 Aborting
040416 13:42:11 ./mysqld: Shutdown Complete
I tried to stop the server but it is still giving the same message.
How can I start the server ???
./mysqld start
040416 13:42:11 Can't start server: Bind on TCP/IP port: Address already in use
040416 13:42:11 Do you already have another mysqld server running on port: 3306 ?
040416 13:42:11 Aborting
040416 13:42:11 ./mysqld: Shutdown Complete
I tried to stop the server but it is still giving the same message.
How can I start the server ???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
in shell prompt use netstat -n -p | more, then find port 3306. In the same line, you can see process ID (-p switch). kill -TERM ID of process you found. This will force kill the process.