Loading
Showing posts with label Database. Show all posts
Showing posts with label Database. Show all posts

Compiled mysql python 1.2.3c1 for Python 2.7 for Windows

MySQLdb module does not provide windows binaries for Python 2.6 +

So, here is the one I've compiled for MySQLdb 1.2.3c1 (1.2.3 gamma 1) for Python 2.7 with MySQL 5.1.45 header files

http://soemin.googlecode.com/files/MySQL-python-1.2.3c1.win32-py2.7.exe

and also for Python 2.6 could be find here

http://soemin.googlecode.com/files/MySQL-python-1.2.3c1.win32-py2.6.exe

Its just compiled with built-in setup command bdist_wininst

MySQLdb - mysql-python 1.2.3c1 for Python 2.6 - No official one for Windows, so I built it

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

က်ေနာ္ဖတ္ေသာ အျခား ဘေလာ့ / ဆိုဒ္မ်ား