LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-06-2012, 06:49 PM   #1
bonedragon
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
Code:
run mysqladmin -u root -p status
I get this:
Code:
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
Code:
sudo whereis mysql.sock.
to try and find it but it just returned
Code:
mysql.sock:
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.
thanks
 
Old 09-06-2012, 08:07 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

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

Evo2.
 
Old 09-06-2012, 09:46 PM   #3
bonedragon
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.
 
  


Reply

Tags
error, mysqlsock, ubuntu 12.04



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 AM.

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