you can use https://github.com/web2py/web2py/blob/master/scripts/extract_mysql_models.py to extract models from your existing tables or just define your tables with migrate=False to be able to access to those. Also, check this section http://web2py.com/books/default/chapter/29/06#Legacy-databases-and-keyed-tables
On Tuesday, November 20, 2012 10:02:30 PM UTC+1, Dennis Mackin wrote: > > I have an existing MySQL data with some existing tables. I'd like to use > gluon.dal to insert data into these tables. How do I do it? It seem dal > only parses tables that it creates. I'm looking for a method names > something like "load_schema". > > I can use the _mysql module instead, but I plan to use the database with > web2py so I'd rather use a single database connection module. > > Thank you. > --