After I upgraded my Python from 2.5 to 2.6 series, I have noticed that I forgot one extension, its MySQLdb.
I searched on MySQL-python sourceforge for py2.6, but no luck, there is only for linux version, not for windows.
So I tried to google it. i found this -> python-26-mysql
Its for mysql-python 1.2.2, they are making it themselves too. Its not official one.
So, I have decided to built my own too and seems I was able to managed it.
- My Python version is 2.6.3
- I have installed mysql server 5.4.2 in my machine
- I have compiled with mingw32 manually instead of default, Visual C++ Compiler.
Here is the installer for 1.2.3c1, python 2.6 - MySQL-python-1.2.3c1.win32-py2.6.exe
The 1.2.2 one built by others has some deprecated warnings, but mine seems fine for that.
Its properly imported with no warnings and running smoothly for database queries too.
Cheers,
Mark
Halloween - 2024
5 weeks ago
No comments:
Post a Comment