Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Mysql is not starting
PostPosted: Fri Mar 02, 2012 1:30 am 
Offline
Newbie

Joined: Fri Mar 02, 2012 1:20 am
Posts: 2
I am new to linode.. my server was giving some mysql swapping error, so I just restarted the server, I can see apache is working, but mysql is still down.

And I can see a error in one of our site:

------------

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in ... on line 23 Fatal error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in ... on line 23

--------------

Please can anyone help me to resolve this.

thanks
Sandesh


Top
   
 Post subject:
PostPosted: Fri Mar 02, 2012 1:02 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
check your mysql logs and find out why it didn't start up on reboot.


Top
   
PostPosted: Fri Mar 02, 2012 11:33 pm 
Offline
Newbie

Joined: Fri Mar 02, 2012 1:20 am
Posts: 2
Please can you guide me how to check the mysql log?


Top
   
 Post subject:
PostPosted: Fri Mar 02, 2012 11:59 pm 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
Take a look at /var/log/syslog


Top
   
 Post subject:
PostPosted: Sat Mar 03, 2012 12:00 am 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
http://lmgtfy.com/?q=check+mysql+logs


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group