On Wednesday, February 23, 2011 10:49:52 AM UTC-5, stargate wrote: > > I think I know what the problem is. I am defining tables in PHP my > admin for mySQL. Is there a tool for web2py that will scan all the > mysql tables in the database then update the db.py. Or is there a > database GUI administration tool that I can use to create the tables > within web2py.
Check out http://web2py.com/book/default/chapter/06#Legacy-Databases-and-Keyed-Tables as well as the 'extract_mysql_models.py' script in the /web2py/scripts/ folder. Anthony

