Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-06-2012, 06:49 PM   #1
LQ Newbie
Registered: Aug 2012
Posts: 9

Rep: Reputation: Disabled
cannot find mysqld.stock

I've looked through all the similar threads to no avail.
this is what i know so far:
when i
run mysqladmin -u root -p status
I get this:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
So I checked and there is no mysqld.sock file.
I also checked the /tmp directory as others have suggested but its not in there either.

I ran
sudo whereis mysql.sock.
to try and find it but it just returned
The problem seems to have started after I updated form Ubuntu 10.04 to 12.04.
I'm at a loss can anyone please help me.
Old 09-06-2012, 08:07 PM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

did you confirm that the server is actually running? Have you read the mysql server log files?

Old 09-06-2012, 09:46 PM   #3
LQ Newbie
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
yes i did it was running

anyway i managed to fix the issue by removing and then re-installing mysql.


error, mysqlsock, ubuntu 12.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] MySQL Start Problem::::socket '/var/run/mysqld/mysqld.sock' (2) arun-linux Linux - Software 6 11-29-2012 06:56 AM
[SOLVED] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' Burningmace Linux - Server 5 09-06-2012 01:29 AM
Can't connect to local MySql server through socket '/var/run/mysqld/mysqld.sock' (2) thoufiq Linux - Server 4 04-19-2011 04:35 AM
GnuCash Stock Quotes wont find OTC BB LazerPhreak Linux - Software 1 03-06-2011 03:21 PM
MySQL - Could not find mysqld kawaii! Linux - Software 12 03-15-2009 07:53 AM

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration