can't connect

Discussion in 'Python' started by rdack, Aug 10, 2003.

  1. rdack

    rdack Guest

    mysql 4.0.12 that comes with osx 10.2
    MySQLdb 0.9.2
    Python 2.2 (#1, 10/24/02, 16:10:52)
    [GCC Apple cpp-precomp 6.14] on darwin

    >>> Import MySQLdb
    >>> MySQLdb.connect()

    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "/usr/lib/python2.2/site-packages/MySQLdb/__init__.py", line
    63, in Connect
    return apply(Connection, args, kwargs)
    File "/usr/lib/python2.2/site-packages/MySQLdb/connections.py", line
    116, in __init__
    self.converter[types.StringType] = self.string_literal
    TypeError: object does not support item assignment

    ------------------
    any thoughts? did i not build it correctly?
    rdack, Aug 10, 2003
    #1
    1. Advertising

  2. rdack

    rdack Guest

    (rdack) wrote in message news:<>...
    > mysql 4.0.12 that comes with osx 10.2
    > MySQLdb 0.9.2
    > Python 2.2 (#1, 10/24/02, 16:10:52)


    i got build of python 2.3, and installed package for MySQLdb no prob.
    i can now connect/access ok.
    rdack, Aug 11, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Otis Mukinfus
    Replies:
    3
    Views:
    905
    Juan T. Llibre
    Jul 8, 2005
  2. Replies:
    3
    Views:
    40,180
    Roedy Green
    Nov 16, 2005
  3. Replies:
    2
    Views:
    272
  4. Mohsen Pahlevanzadeh

    Qt connect and first connect or unicode

    Mohsen Pahlevanzadeh, Sep 17, 2013, in forum: Python
    Replies:
    3
    Views:
    148
    Mohsen Pahlevanzadeh
    Sep 18, 2013
  5. Mohsen Pahlevanzadeh

    Re: Qt connect and first connect or unicode

    Mohsen Pahlevanzadeh, Sep 17, 2013, in forum: Python
    Replies:
    0
    Views:
    111
    Mohsen Pahlevanzadeh
    Sep 17, 2013
Loading...

Share This Page