Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > can't connect

Reply
Thread Tools

can't connect

 
 
rdack
Guest
Posts: n/a
 
      08-10-2003
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?
 
Reply With Quote
 
 
 
 
rdack
Guest
Posts: n/a
 
      08-11-2003
http://www.velocityreviews.com/forums/(E-Mail Removed) (rdack) wrote in message news:<(E-Mail Removed). com>...
> 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can connect to wireless but can not connect to internet Lucy Wireless Networking 2 09-23-2006 11:47 AM
Can connect to wireless but can not connect to internet Lucy Wireless Networking 0 09-22-2006 11:52 AM
Can connect to wireless but can not connect to internet Lucy Wireless Networking 0 09-22-2006 11:03 AM
Could Not Connect To SMTP Host Connection Failed -- Software caused connection abort: connect kishore@novelteam.com Java 3 11-16-2005 03:33 PM
Can't connect to local machine with anything except IE Other browsers can't connect without password Otis Mukinfus ASP .Net 3 07-08-2005 03:54 AM



Advertisments