Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 5 and Version 6 of MySql


Ignore:
Timestamp:
02/09/06 04:52:25 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MySql

    v5 v6  
    77== MySQL and Transactions == 
    88 
    9 TurboGears requires transations.  MySql's default database engine does support transactions (MyISAM table is the default). 
     9TurboGears requires transactions.  MySql's default database engine does support transactions (MyISAM table is the default). 
    1010TurboGears requires INNODB tables. 
    1111 
     
    4040If you want to use Transactions, read the rest of this page :-) 
    4141 
     42Question: I tried changing my sqlobject.dburi from "mysql://..." to "notrans_mysql://..." but I found that it didn't work. I'm getting this traceback: 
     43{{{ 
     44#!python 
     45Traceback (most recent call last): 
     46  File "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r657-py2.4.egg/turbogears/toolbox/catwalk/__init__.py", line 120, in __init__ 
     47    CatWalkState.createTable(ifNotExists=True) 
     48  File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/main.py", line 1320, in createTable 
     49    if ifNotExists and conn.tableExists(cls.sqlmeta.table): 
     50AttributeError: 'NoneType' object has no attribute 'tableExists' 
     51}}} 
    4252 
    4353