Linux newb, so please be gentle.
Tried to start mysql using
mysql -u root -p
and I got the following error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Online solutions suggested that I should reinstall mysql, so that's what I did, except now I'm getting the following error:
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies. mysql-server : Depends: mysql-community-server (= 5.6.23-1ubuntu14.10) but it is not going to be installed
Had no luck so far. Apologises if the question is stupid. I've already tried everything suggested in here as well as many other places but to no avail.
List of installed packages:
akonadi-backend-mysql deinstall libmysqlcppconn7 deinstall mysql-apt-config install mysql-server-5.5 deinstall mysql-workbench deinstall
No error log, I think it got deleted when I attempted to do a deep complete removal.