I started my python script today on Win7 x64 instead of WinXP x86 and the
MySQLdb is not working anymore :(
Can somebody help me, or tell me how i can activate the mysql option "skip-
resolve-name" in MySQLdb?
And if I use the IP, instead of the hostname, still same problem. Rubberducky
is pingable and works with WinXP
without any problems :(
importMySQLdbo=MySQLdb.connect(host="rubberducky",user="test_user",passwd="test_pw",db="test_db")Traceback(mostrecentcalllast):File"<stdin>",line1,in<module>File"C:\Python26\lib\site-packages\MySQLdb\__init__.py",line81,inConnectreturnConnection(*args,**kwargs)File"C:\Python26\lib\site-packages\MySQLdb\connections.py",line188,in__init__super(Connection,self).__init__(*args,**kwargs2)_mysql_exceptions.OperationalError:(1042,"Can't get hostname for your address")
Thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey there,
I started my python script today on Win7 x64 instead of WinXP x86 and the
MySQLdb is not working anymore :(
Can somebody help me, or tell me how i can activate the mysql option "skip-
resolve-name" in MySQLdb?
And if I use the IP, instead of the hostname, still same problem. Rubberducky
is pingable and works with WinXP
without any problems :(
Thx