Probably your MtSQL is not working, Try to telnet to this port to check
is it open and is something listening on it.

-- 
eng. Ilian Iliev
Web Software Developer

Mobile: +359 88 66 08 400
Website: http://ilian.i-n-i.org

On Mon, Sep 26, 2011 at 11:32 PM, PremAnand Lakshmanan
<prem1...@gmail.com>wrote:

> 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.
>

-- 
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