Solved

mysql installation  on linux machine

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now