?
Solved

mysql installation  on linux machine

Posted on 2004-04-16
4
Medium Priority
?
224 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 500 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

718 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