Solved

mysql installation  on linux machine

Posted on 2004-04-16
4
200 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Samba Security Improvement for Writable Directories 8 75
Open BDS Pf 3 52
Help instaling linux on vmware 36 87
Help with Ubuntu 14.04 LTS 10 137
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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