Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 06-05-2009
Member
 
Join Date: May 2008
Posts: 43
cannot connect to local MySQL server in Debian 4

I get an error that I have a problem, it appears when I want to boot mysql:
Code:
  ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/ var / run / mysqld / mysqld.sock' (2)
I am looking for a few hours on the net, but nothing matches my problem. This error occurs since I did a reboot of my dedicated manager via ovh. My technician is always on vacation, I dropped.

Thank you in advance for your help
Reply With Quote
  #2  
Old 06-05-2009
Member
 
Join Date: May 2008
Posts: 487
Re: cannot connect to local MySQL server in Debian 4

I wonder if there would be no confusion between mysql-server mysql-client ?
Reply With Quote
  #3  
Old 06-05-2009
Member
 
Join Date: Apr 2008
Posts: 2,563
Re: cannot connect to local MySQL server in Debian 4

socket is created at startup mysql necessarily if the server is started you can not access the command line.

To start (if debian):

etc / init.d / mysql start

But I do not understand that the server was not started at boot if the instructions for getting started.
__________________
Far Cry 2 Preview
Reply With Quote
  #4  
Old 06-05-2009
Member
 
Join Date: May 2008
Posts: 487
Re: cannot connect to local MySQL server in Debian 4

Given the tree from which you try to start mysql, I have the impression that you've built by hand ... this may explain the non-starter boot. In fact, it is not the mysqld server name (it may change Debian to Red Hat).
Reply With Quote
  #5  
Old 06-05-2009
Member
 
Join Date: Apr 2008
Posts: 2,342
Re: cannot connect to local MySQL server in Debian 4

See this thread for more help : MySQL: connection problem of socket
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "cannot connect to local MySQL server in Debian 4"
Thread Thread Starter Forum Replies Last Post
Not able to connect to local HTTP Server due to OfficeScan Proxy Glinda Networking & Security 8 23-08-2011 12:56 PM
How to install Apache, PHP and MySQL on Debian blueprats Guides & Tutorials 4 15-06-2010 04:21 PM
Mysql Error : Can't connect to local mysql server through socket ' var lib mysql mysql.sock' 2 roshan45 Software Development 3 07-11-2009 09:36 PM
How to Connect or Disconnect from the MYSQL Server GaryK Software Development 1 10-02-2009 12:29 PM
The DSRestore Filter failed to connect to the local SAM Server. Antonio00 Active Directory 1 18-02-2006 12:26 PM


All times are GMT +5.5. The time now is 02:25 PM.