ahhm sorry, If you already defined the model,
you need to start web2py with -M in shell #python web2py.py -S appname -M -M execute the model 2010/11/11 noPE <[email protected]> > I have create a database 'new' for one of my applicaiton. And also > added some tables and records to it via the administrative interface. > I can see it on mysql client. But when i start the web2py shell on my > terminal and do > this : > db = DAL('mysql://user:passw...@localhost/new') > > and do > >> print db.tables > >> [] > > > It gives me an empty list. But when i check the database from my myqsl > client it shows the tables. Also i am able to use those tables for my > app, via my browser in http:localhost:8000/new. > > What is the problem. Somebody help. > > Regards > soumya -- http://rochacbruno.com.br

