Indeed, you didn't define any tables put this in the shell: http://pynthon.pastebin.com/f206bf841 and look if it works =].
On 5 aug, 15:55, mdipierro <[email protected]> wrote: > Whay do you say it does not work. from your example it seems to work. > What behaviour did you expect? > > If you expect to see the tables, the tables must be defined in your > model? Are there? > > On Aug 5, 8:17 am, Dutch opera <[email protected]> wrote: > > > Hi, > > > In my db.py file I have the following. > > > db = SQLDB('mysql://username:[email protected]:3306/test_db') > > > My DB code works. > > > I am trying to run test in the shell. > > > I run >>> db = SQLDB('mysql://username:[email protected]:3306/ > > test_db') > > > Then then run >>> print db.tables > > In[23]: > > > print db.tables > > > Out[23]: > > > [] > > > So....why cant I get the shell to work? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

