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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chanshaw
    New Member
    • Nov 2008
    • 67

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

    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!
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    This link seems to have some good basic information about connecting to a DB. This link will describe an available Python interface.

    Comment

    • chanshaw
      New Member
      • Nov 2008
      • 67

      #3
      Solution

      Originally posted by chanshaw
      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!
      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.

      Comment

      • bvdet
        Recognized Expert Specialist
        • Oct 2006
        • 2851

        #4
        Thank you for the update.

        -BV

        Comment

        Working...