Hi - Feeling a bit weird about this but I cannot find the 'begin'
method on a connection object of MySQLdb. Can anyone explain why ?
I'm using version 1.2.0 which is pretty recent and I've read that
'begin' should be a method of connection but it's not there ! Feeling
pretty puzzled !
Below are the details of what I see ...
[color=blue][color=green][color=darkred]
>>> import MySQLdb
>>> c= MySQLdb.Connect (host='localhos t', user='a',passwd ='b', db='c',compress =1)
>>> c.begin()[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'Connection' object has no attribute 'begin'[color=blue][color=green][color=darkred]
>>> o=MySQLdb
>>> o.__version__[/color][/color][/color]
'1.2.0'[color=blue][color=green][color=darkred]
>>> o.__revision__[/color][/color][/color]
'1.37'[color=blue][color=green][color=darkred]
>>> o.apilevel[/color][/color][/color]
'2.0'
Be interested in any comments.
regards
Richard.
method on a connection object of MySQLdb. Can anyone explain why ?
I'm using version 1.2.0 which is pretty recent and I've read that
'begin' should be a method of connection but it's not there ! Feeling
pretty puzzled !
Below are the details of what I see ...
[color=blue][color=green][color=darkred]
>>> import MySQLdb
>>> c= MySQLdb.Connect (host='localhos t', user='a',passwd ='b', db='c',compress =1)
>>> c.begin()[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'Connection' object has no attribute 'begin'[color=blue][color=green][color=darkred]
>>> o=MySQLdb
>>> o.__version__[/color][/color][/color]
'1.2.0'[color=blue][color=green][color=darkred]
>>> o.__revision__[/color][/color][/color]
'1.37'[color=blue][color=green][color=darkred]
>>> o.apilevel[/color][/color][/color]
'2.0'
Be interested in any comments.
regards
Richard.
Comment