Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

"Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)" #146

Closed
saadbinakhlaq opened this Issue Apr 23, 2012 · 1 comment

Comments

Projects
None yet
2 participants

when I am trying to implement 'todo list' I am getting this following error
I am relatively new at web applications so can anyone please explain me what am I doing wrong

I get the following error

<class '_mysql_exceptions.OperationalError'> at /
(2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
Python /usr/lib/pymodules/python2.7/MySQLdb/connections.py in init, line 186

I have just installed web.py and I am trying to get a hang of it

Contributor

aaronsw commented Apr 23, 2012

That usually means you don't have MySQL running. You need to start it to use it.

@aaronsw aaronsw closed this Apr 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment