MySQL Forums
Forum List  »  Connector/Python

MY SQL Installation Error
Posted by: prem anand
Date: September 26, 2011 03:36PM


I have installed MYSQL and get the following error when I try to establish a connection,

>>> 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\", line 72, in Connect
File "build\bdist.win32\egg\pymysql\", line 465, in __init__
File "build\bdist.win32\egg\pymysql\", line 607, in _connect
File "C:\Python27\lib\", 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

Options: ReplyQuote

Written By
MY SQL Installation Error
September 26, 2011 03:36PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.