At my part ,i ran the extract_mysql_models script but the output model file was not editable and also got ticket when I put it in the app folder as I tried to see what was happening with app admin. Any thoughts ? I 'm guessing I ' ll have to either rearrange my database or find a solution with pymysql as Vasile stated above.
Τη Σάββατο, 26 Μαρτίου 2011 9:36:33 μ.μ. UTC+2, ο χρήστης Kevin Ivarsen έγραψε > > Yes, this is a replacement. > > Trivial differences - just replaced MySQLdb references to > gluon.contrib.pymysql, removed the comment up top about depending on > MySQLdb, and added ".." to the python path so that it can find > gluon.contrib even if the web2py directory isn't in your system pythonpath. > > Cheers, > Kevin > --