Solved

mysql installation  on linux machine

Posted on 2004-04-16
4
217 Views
Last Modified: 2010-03-18
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 ???
 
0
Comment
Question by:getanily
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
ID: 10847612
A reboot would certainly take care of the problem, but a 'killall mysqld' should also take care of any currently running copy of MySQL.
0
 
LVL 3

Expert Comment

by:karelrambousek
ID: 10848676
OK,
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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question