Im trying to install mysql and get the following error,

Any idea on this error?

>>> import pymysql
>>> conn = pymysql.connect(host='localhost', port=3306, user='root',
passwd=None
, db='mysql')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build\bdist.win32\egg\pymysql\__init__.py", line 72, in Connect
  File "build\bdist.win32\egg\pymysql\connections.py", line 465, in __init__
  File "build\bdist.win32\egg\pymysql\connections.py", line 607, in _connect
  File "C:\Python27\lib\socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 10061] No connection could be made because the target
machi
ne actively refused it

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to