Hi - I use MySQL for my database.  In my production environment I'm 
specifying the following:

db = DAL(infoCenterUtil.getDalString(), migrate=False, 
 migrate_enabled=False, bigint_id=True)

On my production machine I'm also trying to use the DAL outside of web2py 
with the following:

import sys
sys.path.append('c:/prod/web2py')
from gluon import DAL, Field
db = DAL('mysql://username:password@server/database',folder=
'c:/prod/web2py/applications/InfoCenter/databases', auto_import=True)

print db.tables

But, I get an empty list when I print db.tables.  On my test machine where 
all of my auto-migrations happen, it works fine.  

Am I barking up the wrong tree in thinking that migration has something to 
do with my problem (print db.tables give empty list).  If not, what am I 
doing wrong?  I don't want auto-migrations on my production box.  What is 
the proper way to have no migration on a machine, but allow for DAL outside 
of web2py?

-Jim

-- 



Reply via email to