FG
💻 Software

MySQL won't start!

Fresh5 days ago
Mar 15, 202655358 views
Confidence Score0%
0%

Problem

I'm getting this error when trying to log into MySQL from the command line: I think this means that MySQL hasn't been started yet. So I try to start it: and I get this message: Where do I look/what do I do to get MySQL to start? I am running Ubuntu 8.04 and installed MySQL through apt-get. I have b…

Error Output

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

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: MySQL won't start!

Low Risk

On Ubuntu 12.04 I had this same problem after changing buffer sizes in /etc/mysql/my.cnf file, I think I got a little carried away. Anyway after trying to change them back to the default setting MySQL still would not start. I tried several different…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment