LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-09-2008, 06:28 AM   #1
ehsantux
LQ Newbie
 
Registered: Nov 2007
Location: Iran
Distribution: Debian
Posts: 22

Rep: Reputation: 15
Mysql socket problem


Hi my friends....
I have a problem with mysql program.
This is the error when i type myql in terminal: Error 2002(HY000): can't connect to local mysql server through socket '/var/run/mysqld/mysqld.sock'(111)
Could you please tell me what's the problem?
Thanks.
Regards.
 
Old 08-09-2008, 06:59 AM   #2
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
your mysqld server is not running

try '/etc/init.d/mysqld start' or something like that
 
  


Reply



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
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
Problem with mysql.socket deepanvenkatesh Linux - Software 2 10-06-2006 01:28 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
MySQL Socket Problem matsko Linux - Software 2 02-04-2006 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:43 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