(Sorry for the prefix but I'm applying for a job and need to complete a project by the next week)
Yesterday I installed MySQL, had some work with it, went to sleep. Today, trying to start it again gave me:
Code:
mysql -u root -p
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Trying to run mysqld:
Code:
110826 9:42:55 [Warning] Can't create test file /var/lib/mysql/eee-1000H.lower-test
110826 9:42:55 [Warning] Can't create test file /var/lib/mysql/eee-1000H.lower-test
mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13)
110826 9:42:55 [ERROR] Aborting
110826 9:42:55 [Note] mysqld: Shutdown complete
It starts as sudo, but still cannot connect
'ps ax | grep mysqld'
Code:
10001 pts/0 S+ 0:00 grep mysqld
sudo cat /etc/hosts
Code:
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Please, help!!!