I have been doing some work with MySQL recently and needed to use InnoDB. I checked to see if it was installed and switched on using: mysqladmin variables | grep have_innodb. It said no so i went into /etc/mysql/my.cnf and commented out –skip-innodb
After i restarted and tried to log in I am getting the following issue:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket /var/run/mysqld/mysqld.sock (2)
mysqlor via another application?socketoption in the configuration files)