MySQL connection to web2py and autopopulation script