By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,846 Members | 1,862 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,846 IT Pros & Developers. It's quick & easy.

Connecting to a Mysql database using Active Python (Windows Vista)

P: 67
Alright I'm just getting into Python for the first time so what do I need to do to be able to setup a connection string and start using a database in python.
I'm new to this so specifics would be apprecieated. What module do I need to install and where can I find it? Once I have the module, how do I go about installing it? Thanks for your help!
Mar 24 '09 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 2.5K+
P: 2,851
This link seems to have some good basic information about connecting to a DB. This link will describe an available Python interface.
Mar 24 '09 #2

P: 67
Alright after dong some more research I found out that Active Python 2.6 does not have support for mysqldb, so what I had to do was download and install active python 2.5 and then download MySQL-python-1.2.2.win32-py2.5.exe and now it works great! Thanks for the reply and anyone else that was looking for a solution for me.
Mar 24 '09 #3

Expert Mod 2.5K+
P: 2,851
Thank you for the update.

Mar 24 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.