Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: ERROR! MySQL PID file could not be found!  (Read 9156 times)
« on: July 24, 2008, 08:04:51 AM »
Mike Offline
Newbie

View Profile
*

iTrader: 0
Posts: 36



Hi,

I have replaced my.cnf file from existing to optimized my.cnf. I forgot to stop MySQL while replacing the file. Now I got the below error while starting/restarting MySQL:

----------------------------
# service mysql restart
ERROR! MySQL PID file could not be found!
Starting MySQL................................... ERROR!

In /usr/sbin/mysqld I got the following error:

# /usr/sbin/mysqld
050602 14:17:44 [Warning] Asked for 196608 thread stack, but got 126976
050602 14:17:44 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
050602 14:17:44 [ERROR] Do you already have another mysqld server running on port: 3306 ?
050602 14:17:44 [ERROR] Aborting
---------------------------------

Can someone help me to fix this?

Thanks,

Mike

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
Logged
« Reply #1 on: July 24, 2008, 02:07:09 PM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 286



It seems that MySQL process is running hence you are unable to use the port. You can check the running MySQL process using following command:

ps auxf | grep mysql

If you get any MySQL process kill that process ID using kill -9 PID and then try to start MySQL.

Kailash
Logged

« Reply #2 on: August 03, 2008, 11:26:08 AM »
Mike Offline
Newbie

View Profile
*

iTrader: 0
Posts: 36



Thanks Kailash!

It did the trick.

Mike
Logged
Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2012 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Google - Sitemap - XML Sitemap