How can I access MySQL with Python on windows environment ?
I took a look to MySQLdb but in the README says:
"I don't do Windows. However if someone provides me with a package for Windows, I'll make it a开发者_StackOverflow中文版vailable."
So is there easy way to access MySQL on Windows or I should install Red Hat & go from there?
The README doesn't mean MySQLdb isn't available for Windows. It only means that the library's maintainer doesn't provide binaries for Windows.
You can still get these binaries for Windows either by 1) compiling them yourself or 2) getting them compiled from some third party.
I suggest you to do the latter:
- Check out page "MySQL-python Windows 64bit and 32bit distributions"
- Locate .exe that matches your OS and Python versions and install it
- You are done
精彩评论