mysql refusing to start

closed account (Dy7SLyTq)
so im trying to create a login script in php and ive run into an issue: i tried logging into phpmyadmin but got this error: #2002 Cannot log in to the MySQL server. so then i tried logging into mysql via the command line using mysql -u root -p and entered my password correctly but it said ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). so then i googled that error and came across this pagehttp://stackoverflow.com/questions/11657829/error-2002-hy000-cant-connect-to-local-mysql-server-through-socket-var-run and tried everyting on it but nothing worked. what do i do now?
closed account (Dy7SLyTq)
solved http://imgur.com/gIdKu12
Topic archived. No new replies allowed.