0

I'm not able to install mysql-server on ubuntu 10.04 I had installed mysql but it was giving this error

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

So I removed mysql-server completely from synaptic
but after this i'm not able to reinstall it. When I try to reinstall it synaptic freezes.

how to do remove each file of mysql and install it ?

Zypher
  • 37,405
  • 5
  • 53
  • 95
Mukesh Yadav
  • 153
  • 4
  • 15

1 Answers1

0

I usually prefer to use the command line interface. So, I use apt-get to remove/install packages.

You can try removing mysql server including configuration files

$ sudo apt-get --force-yes purge mysql-server

You can then try installing it

$ sudo apt-get install mysql-server
Khaled
  • 36,533
  • 8
  • 72
  • 99