Can't get mysql to start after reboot. Starting fails and mysqld says it may already be running.

I'm running Ubuntu 9.10. I cant get mysql to start after I rebooted my system. Usually I just use the following code to start the service.

sudo /etc/init.d/mysql start

But this returns [fail]
So I looked at the status sudo /etc/init.d/mysql status:
* MySQL is stopped.

So then I tried the following:
>sudo mysqld
100415 11:11:40 [Note] Plugin 'FEDERATED' is disabled.
100415 11:11:40  InnoDB: Started; log sequence number 0 44233
100415 11:11:40 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
100415 11:11:40 [ERROR] Do you already have another mysqld server running on port: 3306 ?
100415 11:11:40 [ERROR] Aborting
100415 11:11:40  InnoDB: Starting shutdown...
100415 11:11:41  InnoDB: Shutdown completed; log sequence number 0 44233
100415 11:11:41 [Warning] Forcing shutdown of 1 plugins
100415 11:11:41 [Note] mysqld: Shutdown complete

I checked to make sure the service wasnt running:
>sockstat | grep "mysqld"


I then tried connecting to mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I did change the IP address and install an tftp server on it recently but I don't see where this could have hurt anything. Does someone know what could be happening in my case?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maybe you can try to uninstall the TFTP server to see if MySQL starts?

Regards, Tobias
mlsbravesAuthor Commented:
I uninstalled the following programs that was installed with the TFPT server:
xinetd tftpd tftp

Rebooted the system and still have the same problems
is your loopback interface up?
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

check the bind address here:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mlsbravesAuthor Commented:
eth0      Link encap:Ethernet  HWaddr 00:0b:1b:db:ab:ab
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::20f:1fff:fede:a4a2/64 Scope:Link
          RX packets:158 errors:0 dropped:0 overruns:0 frame:0
          TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16738 (16.7 KB)  TX bytes:27354 (27.3 KB)

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:240 (240.0 B)  TX bytes:240 (240.0 B)
ps ax |grep mysql

kill -9 nnnn

where nnnn is the process id of the mysql prcess, then try to start it again and see if that works

mlsbravesAuthor Commented:
check the bind address here:
The Bind address was set to the old IP address. Changed it and everything is back up. Thanks for all the quick responses.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.