you could set some filters and with the frid it should export only the records shown, not the whole table....
PS: passing driver_args = {} should do the job with pymysql, but I don't see any forums showing that that kind of error is driver-dependant on some kind of timeout parameter (as is in sqlite).... seems a mysql configuration directive (meaning my.cnf, mysql.ini, etc)... *wait_timeout = * *connect_timeout =* or more probably *net_read_timeout* cfr. http://dev.mysql.com/doc/refman/5.0/en/error-lost-connection.html -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.