Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recently configured NDB-cluster with mysql and Mysql just crashed ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

tried re-installing mysql-server as it wasn't there anymore but failed ,with ubuntu missing repository entries. I removed mysql from my system completely, Now the main issue 1.apt-get install wont show any mysql package, 2.apt-get update still wont add any mysql repository 3.packages in mysql site are rpm not .deb i've been going round and round with these commands for a day or two now all in vain , no idea what im missing.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ maverick main restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://archive.ubuntu.com/ubuntu/ maverick universe
deb http://archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main
deb http://packages.dotdeb.org lenny all

deb http://archive.canonical.com/ natty partner
deb-src http://archive.canonical.com/ natty partner
deb http://download.tuxfamily.org/gericom/libreoffice /
deb http://security.ubuntu.com/ubuntu/ maverick-security restricted main universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-proposed restricted main universe multiverse
share|improve this question

migrated from stackoverflow.com May 10 '13 at 9:44

This question came from our site for professional and enthusiast programmers.

    
Ubuntu 10.10 is EOL since 10th April 2012...you better upgrade that server. By the way, EOL also means that the repositories are not available anymore. –  Bobby May 10 '13 at 8:58
    
Thanks a ton, is it possible to upgrade skipping intermediate version , i.e 10.10 to 12.04 ? or get mysql client,server and other dependencies from any other repo. ?? –  Gaurav May 10 '13 at 9:07
    
Not sure to be honest, I know that it's possible for LTS versions... –  Bobby May 10 '13 at 9:19
    
If it's 10.10 LTS just follow this tutorial. In Debian you just switch the codename of your current distro to the one you want in sources.list, set a safe upgrade enviroment, and then apt-get dist-upgrade. On Ubuntu it seems to be different. Try askubuntu.com –  Alex May 11 '13 at 9:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.